^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: May 2017
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) KernelVersion: 4.13
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Contact: netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) Symbolic link to the network device this PHY device is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) attached to.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Date: February 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) KernelVersion: 3.15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Contact: netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) This attribute contains the boolean value whether a given PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) device has had any "fixup" workaround running on it, encoded as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) a boolean. This information is provided to help troubleshooting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) PHY configurations.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) What: /sys/class/mdio_bus/<bus>/<device>/phy_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Date: November 2012
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) KernelVersion: 3.8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Contact: netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) This attribute contains the 32-bit PHY Identifier as reported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) by the device during bus enumeration, encoded in hexadecimal.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) This ID is used to match the device with the appropriate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Date: February 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) KernelVersion: 3.15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Contact: netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) This attribute contains the PHY interface as configured by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Ethernet driver during bus enumeration, encoded in string.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) This interface mode is used to configure the Ethernet MAC with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) appropriate mode for its data lines to the PHY hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) <empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) xaui, 10gbase-kr, unknown
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) What: /sys/class/mdio_bus/<bus>/<device>/phy_standalone
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Date: May 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) KernelVersion: 5.3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Contact: netdev@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Description:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Boolean value indicating whether the PHY device is used in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) standalone mode, without a net_device associated, by PHYLINK.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Attribute created only when this is the case.