~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-net-phydev

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/class/mdio_bus/<bus>/<device>/attached_dev
  2 Date:           May 2017
  3 KernelVersion:  4.13
  4 Contact:        netdev@vger.kernel.org
  5 Description:
  6                 Symbolic link to the network device this PHY device is
  7                 attached to.
  8 
  9 What:           /sys/class/mdio_bus/<bus>/<device>/phy_has_fixups
 10 Date:           February 2014
 11 KernelVersion:  3.15
 12 Contact:        netdev@vger.kernel.org
 13 Description:
 14                 This attribute contains the boolean value whether a given PHY
 15                 device has had any "fixup" workaround running on it, encoded as
 16                 a boolean. This information is provided to help troubleshooting
 17                 PHY configurations.
 18 
 19 What:           /sys/class/mdio_bus/<bus>/<device>/phy_id
 20 Date:           November 2012
 21 KernelVersion:  3.8
 22 Contact:        netdev@vger.kernel.org
 23 Description:
 24                 This attribute contains the 32-bit PHY Identifier as reported
 25                 by the device during bus enumeration, encoded in hexadecimal.
 26                 This ID is used to match the device with the appropriate
 27                 driver.
 28 
 29 What:           /sys/class/mdio_bus/<bus>/<device>/phy_interface
 30 Date:           February 2014
 31 KernelVersion:  3.15
 32 Contact:        netdev@vger.kernel.org
 33 Description:
 34                 This attribute contains the PHY interface as configured by the
 35                 Ethernet driver during bus enumeration, encoded in string.
 36                 This interface mode is used to configure the Ethernet MAC with the
 37                 appropriate mode for its data lines to the PHY hardware.
 38 
 39                 Possible values are:
 40 
 41                 <empty> (not available), mii, gmii, sgmii, tbi, rev-mii,
 42                 rmii, rgmii, rgmii-id, rgmii-rxid, rgmii-txid, rtbi, smii
 43                 xgmii, moca, qsgmii, trgmii, 1000base-x, 2500base-x, rxaui,
 44                 xaui, 10gbase-kr, unknown
 45 
 46 What:           /sys/class/mdio_bus/<bus>/<device>/phy_standalone
 47 Date:           May 2019
 48 KernelVersion:  5.3
 49 Contact:        netdev@vger.kernel.org
 50 Description:
 51                 Boolean value indicating whether the PHY device is used in
 52                 standalone mode, without a net_device associated, by PHYLINK.
 53                 Attribute created only when this is the case.
 54 
 55 What:           /sys/class/mdio_bus/<bus>/<device>/phy_dev_flags
 56 Date:           March 2021
 57 KernelVersion:  5.13
 58 Contact:        netdev@vger.kernel.org
 59 Description:
 60                 32-bit hexadecimal number representing a bit mask of the
 61                 configuration bits passed from the consumer of the PHY
 62                 (Ethernet MAC, switch, etc.) to the PHY driver. The flags are
 63                 only used internally by the kernel and their placement are
 64                 not meant to be stable across kernel versions. This is intended
 65                 for facilitating the debugging of PHY drivers.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php