Skip to content

Commit 86f22d0

Browse files
ffainellidavem330
authored andcommitted
net: sysfs: Document PHY device sysfs attributes
Document the different sysfs attributes that exist for PHY devices: attached_dev, phy_has_fixups, phy_id and phy_interface. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8f60219 commit 86f22d0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
9+
What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
10+
Date: February 2014
11+
KernelVersion: 3.15
12+
Contact: netdev@vger.kernel.org
13+
Description:
14+
Boolean value indicating whether the PHY device has
15+
any fixups registered against it (phy_register_fixup)
16+
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+
32-bit hexadecimal value corresponding to the PHY device's OUI,
23+
model and revision number.
24+
25+
What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
26+
Date: February 2014
27+
KernelVersion: 3.15
28+
Contact: netdev@vger.kernel.org
29+
Description:
30+
String value indicating the PHY interface, possible
31+
values are:.
32+
<empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
33+
rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
34+
xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
35+
unknown
36+

0 commit comments

Comments
 (0)