hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/ABI/testing/sysfs-bus-mdio
....@@ -1,29 +1,63 @@
1
-What: /sys/bus/mdio_bus/devices/.../phy_id
2
-Date: November 2012
3
-KernelVersion: 3.8
4
-Contact: netdev@vger.kernel.org
1
+What: /sys/bus/mdio_bus/devices/.../statistics/
2
+Date: January 2020
3
+KernelVersion: 5.6
4
+Contact: netdev@vger.kernel.org
55 Description:
6
- This attribute contains the 32-bit PHY Identifier as reported
7
- by the device during bus enumeration, encoded in hexadecimal.
8
- This ID is used to match the device with the appropriate
9
- driver.
6
+ This folder contains statistics about global and per
7
+ MDIO bus address statistics.
108
11
-What: /sys/bus/mdio_bus/devices/.../phy_interface
12
-Date: February 2014
13
-KernelVersion: 3.15
14
-Contact: netdev@vger.kernel.org
9
+What: /sys/bus/mdio_bus/devices/.../statistics/transfers
10
+Date: January 2020
11
+KernelVersion: 5.6
12
+Contact: netdev@vger.kernel.org
1513 Description:
16
- This attribute contains the PHY interface as configured by the
17
- Ethernet driver during bus enumeration, encoded in string.
18
- This interface mode is used to configure the Ethernet MAC with the
19
- appropriate mode for its data lines to the PHY hardware.
14
+ Total number of transfers for this MDIO bus.
2015
21
-What: /sys/bus/mdio_bus/devices/.../phy_has_fixups
22
-Date: February 2014
23
-KernelVersion: 3.15
24
-Contact: netdev@vger.kernel.org
16
+What: /sys/bus/mdio_bus/devices/.../statistics/errors
17
+Date: January 2020
18
+KernelVersion: 5.6
19
+Contact: netdev@vger.kernel.org
2520 Description:
26
- This attribute contains the boolean value whether a given PHY
27
- device has had any "fixup" workaround running on it, encoded as
28
- a boolean. This information is provided to help troubleshooting
29
- PHY configurations.
21
+ Total number of transfer errors for this MDIO bus.
22
+
23
+What: /sys/bus/mdio_bus/devices/.../statistics/writes
24
+Date: January 2020
25
+KernelVersion: 5.6
26
+Contact: netdev@vger.kernel.org
27
+Description:
28
+ Total number of write transactions for this MDIO bus.
29
+
30
+What: /sys/bus/mdio_bus/devices/.../statistics/reads
31
+Date: January 2020
32
+KernelVersion: 5.6
33
+Contact: netdev@vger.kernel.org
34
+Description:
35
+ Total number of read transactions for this MDIO bus.
36
+
37
+What: /sys/bus/mdio_bus/devices/.../statistics/transfers_<addr>
38
+Date: January 2020
39
+KernelVersion: 5.6
40
+Contact: netdev@vger.kernel.org
41
+Description:
42
+ Total number of transfers for this MDIO bus address.
43
+
44
+What: /sys/bus/mdio_bus/devices/.../statistics/errors_<addr>
45
+Date: January 2020
46
+KernelVersion: 5.6
47
+Contact: netdev@vger.kernel.org
48
+Description:
49
+ Total number of transfer errors for this MDIO bus address.
50
+
51
+What: /sys/bus/mdio_bus/devices/.../statistics/writes_<addr>
52
+Date: January 2020
53
+KernelVersion: 5.6
54
+Contact: netdev@vger.kernel.org
55
+Description:
56
+ Total number of write transactions for this MDIO bus address.
57
+
58
+What: /sys/bus/mdio_bus/devices/.../statistics/reads_<addr>
59
+Date: January 2020
60
+KernelVersion: 5.6
61
+Contact: netdev@vger.kernel.org
62
+Description:
63
+ Total number of read transactions for this MDIO bus address.