wkz / phytool

Linux MDIO register access
GNU General Public License v2.0
154 stars 78 forks source link

phytool usage #13

Open y-jayden opened 1 year ago

y-jayden commented 1 year ago

Can you explain the meanings of the 'phytool print' output and how to modify these parameters. This is more friendly to our beginners

wkz commented 1 year ago

Phytool is a low-level debug utility for those rare times when you need raw register access. If you want something more user-friendly, ethtool might be what you're looking for.

If you want to know more about the meaning of the register bits, I suggest you consult the datasheet for you specific PHY. If you don't have a datasheet available, many registers are standardized in IEEE 802.3 (Clause 22.2.4) which is available through IEEE's GET program: https://standards.ieee.org/products-programs/ieee-get-program/