162306a36Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/attached_dev 262306a36Sopenharmony_ciDate: May 2017 362306a36Sopenharmony_ciKernelVersion: 4.13 462306a36Sopenharmony_ciContact: netdev@vger.kernel.org 562306a36Sopenharmony_ciDescription: 662306a36Sopenharmony_ci Symbolic link to the network device this PHY device is 762306a36Sopenharmony_ci attached to. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups 1062306a36Sopenharmony_ciDate: February 2014 1162306a36Sopenharmony_ciKernelVersion: 3.15 1262306a36Sopenharmony_ciContact: netdev@vger.kernel.org 1362306a36Sopenharmony_ciDescription: 1462306a36Sopenharmony_ci This attribute contains the boolean value whether a given PHY 1562306a36Sopenharmony_ci device has had any "fixup" workaround running on it, encoded as 1662306a36Sopenharmony_ci a boolean. This information is provided to help troubleshooting 1762306a36Sopenharmony_ci PHY configurations. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_id 2062306a36Sopenharmony_ciDate: November 2012 2162306a36Sopenharmony_ciKernelVersion: 3.8 2262306a36Sopenharmony_ciContact: netdev@vger.kernel.org 2362306a36Sopenharmony_ciDescription: 2462306a36Sopenharmony_ci This attribute contains the 32-bit PHY Identifier as reported 2562306a36Sopenharmony_ci by the device during bus enumeration, encoded in hexadecimal. 2662306a36Sopenharmony_ci This ID is used to match the device with the appropriate 2762306a36Sopenharmony_ci driver. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_interface 3062306a36Sopenharmony_ciDate: February 2014 3162306a36Sopenharmony_ciKernelVersion: 3.15 3262306a36Sopenharmony_ciContact: netdev@vger.kernel.org 3362306a36Sopenharmony_ciDescription: 3462306a36Sopenharmony_ci This attribute contains the PHY interface as configured by the 3562306a36Sopenharmony_ci Ethernet driver during bus enumeration, encoded in string. 3662306a36Sopenharmony_ci This interface mode is used to configure the Ethernet MAC with the 3762306a36Sopenharmony_ci appropriate mode for its data lines to the PHY hardware. 3862306a36Sopenharmony_ci 3962306a36Sopenharmony_ci Possible values are: 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ci <empty> (not available), mii, gmii, sgmii, tbi, rev-mii, 4262306a36Sopenharmony_ci rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii 4362306a36Sopenharmony_ci xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui, 4462306a36Sopenharmony_ci xaui, 10gbase-kr, unknown 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_standalone 4762306a36Sopenharmony_ciDate: May 2019 4862306a36Sopenharmony_ciKernelVersion: 5.3 4962306a36Sopenharmony_ciContact: netdev@vger.kernel.org 5062306a36Sopenharmony_ciDescription: 5162306a36Sopenharmony_ci Boolean value indicating whether the PHY device is used in 5262306a36Sopenharmony_ci standalone mode, without a net_device associated, by PHYLINK. 5362306a36Sopenharmony_ci Attribute created only when this is the case. 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_dev_flags 5662306a36Sopenharmony_ciDate: March 2021 5762306a36Sopenharmony_ciKernelVersion: 5.13 5862306a36Sopenharmony_ciContact: netdev@vger.kernel.org 5962306a36Sopenharmony_ciDescription: 6062306a36Sopenharmony_ci 32-bit hexadecimal number representing a bit mask of the 6162306a36Sopenharmony_ci configuration bits passed from the consumer of the PHY 6262306a36Sopenharmony_ci (Ethernet MAC, switch, etc.) to the PHY driver. The flags are 6362306a36Sopenharmony_ci only used internally by the kernel and their placement are 6462306a36Sopenharmony_ci not meant to be stable across kernel versions. This is intended 6562306a36Sopenharmony_ci for facilitating the debugging of PHY drivers. 66