sysfs-class-net-phydev 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
  2. Date: May 2017
  3. KernelVersion: 4.13
  4. Contact: netdev@vger.kernel.org
  5. Description:
  6. Symbolic link to the network device this PHY device is
  7. attached to.
  8. What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
  9. Date: February 2014
  10. KernelVersion: 3.15
  11. Contact: netdev@vger.kernel.org
  12. Description:
  13. This attribute contains the boolean value whether a given PHY
  14. device has had any "fixup" workaround running on it, encoded as
  15. a boolean. This information is provided to help troubleshooting
  16. PHY configurations.
  17. What: /sys/class/mdio_bus/<bus>/<device>/phy_id
  18. Date: November 2012
  19. KernelVersion: 3.8
  20. Contact: netdev@vger.kernel.org
  21. Description:
  22. This attribute contains the 32-bit PHY Identifier as reported
  23. by the device during bus enumeration, encoded in hexadecimal.
  24. This ID is used to match the device with the appropriate
  25. driver.
  26. What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
  27. Date: February 2014
  28. KernelVersion: 3.15
  29. Contact: netdev@vger.kernel.org
  30. Description:
  31. This attribute contains the PHY interface as configured by the
  32. Ethernet driver during bus enumeration, encoded in string.
  33. This interface mode is used to configure the Ethernet MAC with the
  34. appropriate mode for its data lines to the PHY hardware.
  35. Possible values are:
  36. <empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
  37. rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
  38. xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
  39. xaui, 10gbase-kr, unknown
  40. What: /sys/class/mdio_bus/<bus>/<device>/phy_standalone
  41. Date: May 2019
  42. KernelVersion: 5.3
  43. Contact: netdev@vger.kernel.org
  44. Description:
  45. Boolean value indicating whether the PHY device is used in
  46. standalone mode, without a net_device associated, by PHYLINK.
  47. Attribute created only when this is the case.