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