56277f40d7
This adds a phy_id sysfs attribute to MDIO devices, containing the 32-bit PHY identifier reported by the device. This attribute can be useful when debugging problems related to phy drivers. Other enumerable buses already have similar attributes. Signed-off-by: Nick Bowler <nbowler@elliptictech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
10 lines
326 B
Plaintext
10 lines
326 B
Plaintext
What: /sys/bus/mdio_bus/devices/.../phy_id
|
|
Date: November 2012
|
|
KernelVersion: 3.8
|
|
Contact: netdev@vger.kernel.org
|
|
Description:
|
|
This attribute contains the 32-bit PHY Identifier as reported
|
|
by the device during bus enumeration, encoded in hexadecimal.
|
|
This ID is used to match the device with the appropriate
|
|
driver.
|