blob: 206cbf538b59c12ceb6df481358334a1bb2af272 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
2Date: May 2017
3KernelVersion: 4.13
4Contact: netdev@vger.kernel.org
5Description:
6 Symbolic link to the network device this PHY device is
7 attached to.
8
9What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
10Date: February 2014
11KernelVersion: 3.15
12Contact: netdev@vger.kernel.org
13Description:
David Brazdil0f672f62019-12-10 10:32:29 +000014 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.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000018
19What: /sys/class/mdio_bus/<bus>/<device>/phy_id
20Date: November 2012
21KernelVersion: 3.8
22Contact: netdev@vger.kernel.org
23Description:
David Brazdil0f672f62019-12-10 10:32:29 +000024 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.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000028
29What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
30Date: February 2014
31KernelVersion: 3.15
32Contact: netdev@vger.kernel.org
33Description:
David Brazdil0f672f62019-12-10 10:32:29 +000034 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 Possible values are:
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000039 <empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
40 rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
41 xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
42 xaui, 10gbase-kr, unknown
43
David Brazdil0f672f62019-12-10 10:32:29 +000044What: /sys/class/mdio_bus/<bus>/<device>/phy_standalone
45Date: May 2019
46KernelVersion: 5.3
47Contact: netdev@vger.kernel.org
48Description:
49 Boolean value indicating whether the PHY device is used in
50 standalone mode, without a net_device associated, by PHYLINK.
51 Attribute created only when this is the case.