Skip to content

linien-org/mdio-tool

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdio-tool

This is tool to read and write MII registers from ethernet physicals under linux. It has been tested with Realtek and Marvell PHY's connected via PCIe and should work with all drivers implementing the mdio ioctls.

mdio-tool comes with ABSOLUTELY NO WARRANTY; Use with care!

Syntax: mdio-tool [r/w] [devname] [addr] ./mdio-tool w eth0 0x10 0x0 ./mdio-tool r eth0 0x0

Build with

cmake .
make
mv -f mdio-tool /usr/bin

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.4%
  • CMake 3.6%