sysfs-class-net-phydev 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
  2. Date: May 2017
  3. KernelVersion: 4.13
  4. Contact: [email protected]
  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: [email protected]
  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: [email protected]
  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: [email protected]
  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: [email protected]
  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.
  48. What: /sys/class/mdio_bus/<bus>/<device>/phy_dev_flags
  49. Date: March 2021
  50. KernelVersion: 5.13
  51. Contact: [email protected]
  52. Description:
  53. 32-bit hexadecimal number representing a bit mask of the
  54. configuration bits passed from the consumer of the PHY
  55. (Ethernet MAC, switch, etc.) to the PHY driver. The flags are
  56. only used internally by the kernel and their placement are
  57. not meant to be stable across kernel versions. This is intended
  58. for facilitating the debugging of PHY drivers.