summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-class-net-phydev
diff options
context:
space:
mode:
authorYajun Deng <yajun.deng@linux.dev>2025-06-13 21:19:03 +0800
committerPaolo Abeni <pabeni@redhat.com>2025-06-17 15:11:51 +0200
commit170e4e3944aa39accf64d869b27c187f8c08abc7 (patch)
tree0ed608e44088aad7a25085aa8d2e5a654f720676 /Documentation/ABI/testing/sysfs-class-net-phydev
parent9149a6328897acf718e68684ff432f03b40ba61a (diff)
net: phy: Add c45_phy_ids sysfs directory entry
The phy_id field only shows the PHY ID of the C22 device, and the C45 device did not store its PHY ID in this field. Add a new phy_mmd_group, and export the mmd<n>_device_id for the C45 device. These files are invisible to the C22 device. Signed-off-by: Yajun Deng <yajun.deng@linux.dev> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20250613131903.2961-1-yajun.deng@linux.dev Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-net-phydev')
-rw-r--r--Documentation/ABI/testing/sysfs-class-net-phydev10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-net-phydev b/Documentation/ABI/testing/sysfs-class-net-phydev
index ac722dd5e694..31615c59bff9 100644
--- a/Documentation/ABI/testing/sysfs-class-net-phydev
+++ b/Documentation/ABI/testing/sysfs-class-net-phydev
@@ -26,6 +26,16 @@ Description:
This ID is used to match the device with the appropriate
driver.
+What: /sys/class/mdio_bus/<bus>/<device>/c45_phy_ids/mmd<n>_device_id
+Date: June 2025
+KernelVersion: 6.17
+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.
+ These C45 IDs are used to match the device with the appropriate
+ driver. These files are invisible to the C22 device.
+
What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
Date: February 2014
KernelVersion: 3.15