hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/Documentation/ABI/testing/sysfs-class-net-phydev
....@@ -11,26 +11,43 @@
1111 KernelVersion: 3.15
1212 Contact: netdev@vger.kernel.org
1313 Description:
14
- Boolean value indicating whether the PHY device has
15
- any fixups registered against it (phy_register_fixup)
14
+ This attribute contains the boolean value whether a given PHY
15
+ device has had any "fixup" workaround running on it, encoded as
16
+ a boolean. This information is provided to help troubleshooting
17
+ PHY configurations.
1618
1719 What: /sys/class/mdio_bus/<bus>/<device>/phy_id
1820 Date: November 2012
1921 KernelVersion: 3.8
2022 Contact: netdev@vger.kernel.org
2123 Description:
22
- 32-bit hexadecimal value corresponding to the PHY device's OUI,
23
- model and revision number.
24
+ This attribute contains the 32-bit PHY Identifier as reported
25
+ by the device during bus enumeration, encoded in hexadecimal.
26
+ This ID is used to match the device with the appropriate
27
+ driver.
2428
2529 What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
2630 Date: February 2014
2731 KernelVersion: 3.15
2832 Contact: netdev@vger.kernel.org
2933 Description:
30
- String value indicating the PHY interface, possible
31
- values are:.
34
+ This attribute contains the PHY interface as configured by the
35
+ Ethernet driver during bus enumeration, encoded in string.
36
+ This interface mode is used to configure the Ethernet MAC with the
37
+ appropriate mode for its data lines to the PHY hardware.
38
+
39
+ Possible values are:
40
+
3241 <empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
3342 rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
3443 xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
3544 xaui, 10gbase-kr, unknown
3645
46
+What: /sys/class/mdio_bus/<bus>/<device>/phy_standalone
47
+Date: May 2019
48
+KernelVersion: 5.3
49
+Contact: netdev@vger.kernel.org
50
+Description:
51
+ Boolean value indicating whether the PHY device is used in
52
+ standalone mode, without a net_device associated, by PHYLINK.
53
+ Attribute created only when this is the case.