18c2ecf20Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/attached_dev 28c2ecf20Sopenharmony_ciDate: May 2017 38c2ecf20Sopenharmony_ciKernelVersion: 4.13 48c2ecf20Sopenharmony_ciContact: netdev@vger.kernel.org 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci Symbolic link to the network device this PHY device is 78c2ecf20Sopenharmony_ci attached to. 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups 108c2ecf20Sopenharmony_ciDate: February 2014 118c2ecf20Sopenharmony_ciKernelVersion: 3.15 128c2ecf20Sopenharmony_ciContact: netdev@vger.kernel.org 138c2ecf20Sopenharmony_ciDescription: 148c2ecf20Sopenharmony_ci This attribute contains the boolean value whether a given PHY 158c2ecf20Sopenharmony_ci device has had any "fixup" workaround running on it, encoded as 168c2ecf20Sopenharmony_ci a boolean. This information is provided to help troubleshooting 178c2ecf20Sopenharmony_ci PHY configurations. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_id 208c2ecf20Sopenharmony_ciDate: November 2012 218c2ecf20Sopenharmony_ciKernelVersion: 3.8 228c2ecf20Sopenharmony_ciContact: netdev@vger.kernel.org 238c2ecf20Sopenharmony_ciDescription: 248c2ecf20Sopenharmony_ci This attribute contains the 32-bit PHY Identifier as reported 258c2ecf20Sopenharmony_ci by the device during bus enumeration, encoded in hexadecimal. 268c2ecf20Sopenharmony_ci This ID is used to match the device with the appropriate 278c2ecf20Sopenharmony_ci driver. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_interface 308c2ecf20Sopenharmony_ciDate: February 2014 318c2ecf20Sopenharmony_ciKernelVersion: 3.15 328c2ecf20Sopenharmony_ciContact: netdev@vger.kernel.org 338c2ecf20Sopenharmony_ciDescription: 348c2ecf20Sopenharmony_ci This attribute contains the PHY interface as configured by the 358c2ecf20Sopenharmony_ci Ethernet driver during bus enumeration, encoded in string. 368c2ecf20Sopenharmony_ci This interface mode is used to configure the Ethernet MAC with the 378c2ecf20Sopenharmony_ci appropriate mode for its data lines to the PHY hardware. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci Possible values are: 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci <empty> (not available), mii, gmii, sgmii, tbi, rev-mii, 428c2ecf20Sopenharmony_ci rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii 438c2ecf20Sopenharmony_ci xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui, 448c2ecf20Sopenharmony_ci xaui, 10gbase-kr, unknown 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciWhat: /sys/class/mdio_bus/<bus>/<device>/phy_standalone 478c2ecf20Sopenharmony_ciDate: May 2019 488c2ecf20Sopenharmony_ciKernelVersion: 5.3 498c2ecf20Sopenharmony_ciContact: netdev@vger.kernel.org 508c2ecf20Sopenharmony_ciDescription: 518c2ecf20Sopenharmony_ci Boolean value indicating whether the PHY device is used in 528c2ecf20Sopenharmony_ci standalone mode, without a net_device associated, by PHYLINK. 538c2ecf20Sopenharmony_ci Attribute created only when this is the case. 54