Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/class/mdio_bus/<bus>/<device>/attached_dev
0002 Date:           May 2017
0003 KernelVersion:  4.13
0004 Contact:        netdev@vger.kernel.org
0005 Description:
0006                 Symbolic link to the network device this PHY device is
0007                 attached to.
0008 
0009 What:           /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
0010 Date:           February 2014
0011 KernelVersion:  3.15
0012 Contact:        netdev@vger.kernel.org
0013 Description:
0014                 This attribute contains the boolean value whether a given PHY
0015                 device has had any "fixup" workaround running on it, encoded as
0016                 a boolean. This information is provided to help troubleshooting
0017                 PHY configurations.
0018 
0019 What:           /sys/class/mdio_bus/<bus>/<device>/phy_id
0020 Date:           November 2012
0021 KernelVersion:  3.8
0022 Contact:        netdev@vger.kernel.org
0023 Description:
0024                 This attribute contains the 32-bit PHY Identifier as reported
0025                 by the device during bus enumeration, encoded in hexadecimal.
0026                 This ID is used to match the device with the appropriate
0027                 driver.
0028 
0029 What:           /sys/class/mdio_bus/<bus>/<device>/phy_interface
0030 Date:           February 2014
0031 KernelVersion:  3.15
0032 Contact:        netdev@vger.kernel.org
0033 Description:
0034                 This attribute contains the PHY interface as configured by the
0035                 Ethernet driver during bus enumeration, encoded in string.
0036                 This interface mode is used to configure the Ethernet MAC with the
0037                 appropriate mode for its data lines to the PHY hardware.
0038 
0039                 Possible values are:
0040 
0041                 <empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
0042                 rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
0043                 xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
0044                 xaui, 10gbase-kr, unknown
0045 
0046 What:           /sys/class/mdio_bus/<bus>/<device>/phy_standalone
0047 Date:           May 2019
0048 KernelVersion:  5.3
0049 Contact:        netdev@vger.kernel.org
0050 Description:
0051                 Boolean value indicating whether the PHY device is used in
0052                 standalone mode, without a net_device associated, by PHYLINK.
0053                 Attribute created only when this is the case.
0054 
0055 What:           /sys/class/mdio_bus/<bus>/<device>/phy_dev_flags
0056 Date:           March 2021
0057 KernelVersion:  5.13
0058 Contact:        netdev@vger.kernel.org
0059 Description:
0060                 32-bit hexadecimal number representing a bit mask of the
0061                 configuration bits passed from the consumer of the PHY
0062                 (Ethernet MAC, switch, etc.) to the PHY driver. The flags are
0063                 only used internally by the kernel and their placement are
0064                 not meant to be stable across kernel versions. This is intended
0065                 for facilitating the debugging of PHY drivers.