
Export a phy_standalone device attribute that is meant to give the indication that this PHY lacks an attached_dev and its corresponding sysfs link. The attribute will be created only when the phy_attach_direct() function will be called with a NULL net_device. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
What: /sys/class/mdio_bus/<bus>/<device>/attached_dev
|
|
Date: May 2017
|
|
KernelVersion: 4.13
|
|
Contact: netdev@vger.kernel.org
|
|
Description:
|
|
Symbolic link to the network device this PHY device is
|
|
attached to.
|
|
|
|
What: /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
|
|
Date: February 2014
|
|
KernelVersion: 3.15
|
|
Contact: netdev@vger.kernel.org
|
|
Description:
|
|
Boolean value indicating whether the PHY device has
|
|
any fixups registered against it (phy_register_fixup)
|
|
|
|
What: /sys/class/mdio_bus/<bus>/<device>/phy_id
|
|
Date: November 2012
|
|
KernelVersion: 3.8
|
|
Contact: netdev@vger.kernel.org
|
|
Description:
|
|
32-bit hexadecimal value corresponding to the PHY device's OUI,
|
|
model and revision number.
|
|
|
|
What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
|
|
Date: February 2014
|
|
KernelVersion: 3.15
|
|
Contact: netdev@vger.kernel.org
|
|
Description:
|
|
String value indicating the PHY interface, possible
|
|
values are:.
|
|
<empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
|
|
rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
|
|
xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
|
|
xaui, 10gbase-kr, unknown
|
|
|
|
What: /sys/class/mdio_bus/<bus>/<device>/phy_standalone
|
|
Date: May 2019
|
|
KernelVersion: 5.3
|
|
Contact: netdev@vger.kernel.org
|
|
Description:
|
|
Boolean value indicating whether the PHY device is used in
|
|
standalone mode, without a net_device associated, by PHYLINK.
|
|
Attribute created only when this is the case.
|