1 What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
4 Contact: netdev@vger.kernel.org
6 Symbolic link to the network device this PHY device is
9 What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
12 Contact: netdev@vger.kernel.org
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
19 What: /sys/class/mdio_bus/<bus>/<device>/phy_id
22 Contact: netdev@vger.kernel.org
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
29 What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
32 Contact: netdev@vger.kernel.org
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.
41 <empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
42 rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
43 xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
44 xaui, 10gbase-kr, unknown
46 What: /sys/class/mdio_bus/<bus>/<device>/phy_standalone
49 Contact: netdev@vger.kernel.org
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.
55 What: /sys/class/mdio_bus/<bus>/<device>/phy_dev_flags
58 Contact: netdev@vger.kernel.org
60 32-bit hexadecimal number representing a bit mask of the
61 configuration bits passed from the consumer of the PHY
62 (Ethernet MAC, switch, etc.) to the PHY driver. The flags are
63 only used internally by the kernel and their placement are
64 not meant to be stable across kernel versions. This is intended
65 for facilitating the debugging of PHY drivers.