docs: ABI: sysfs-class-led-trigger-netdev: Document now hidable link_*
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 11 Jan 2024 16:04:55 +0000 (17:04 +0100)
committerLee Jones <lee@kernel.org>
Thu, 7 Mar 2024 08:47:58 +0000 (08:47 +0000)
Document now hidable link speed modes for the LED netdev trigger.

Link speed modes are now showed only if the named network device
supports them and are hidden if not.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Marek BehĂșn <kabel@kernel.org>
Link: https://lore.kernel.org/r/20240111160501.1774-2-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/ABI/testing/sysfs-class-led-trigger-netdev

index a6c307c4befa099e5578e6bc8526255fcf55ca97..ed46b37ab8a284e7b09cd43e94cc1b06be18d048 100644 (file)
@@ -88,6 +88,8 @@ Description:
                speed of 10MBps of the named network device.
                Setting this value also immediately changes the LED state.
 
+               Present only if the named network device supports 10Mbps link speed.
+
 What:          /sys/class/leds/<led>/link_100
 Date:          Jun 2023
 KernelVersion: 6.5
@@ -101,6 +103,8 @@ Description:
                speed of 100Mbps of the named network device.
                Setting this value also immediately changes the LED state.
 
+               Present only if the named network device supports 100Mbps link speed.
+
 What:          /sys/class/leds/<led>/link_1000
 Date:          Jun 2023
 KernelVersion: 6.5
@@ -114,6 +118,8 @@ Description:
                speed of 1000Mbps of the named network device.
                Setting this value also immediately changes the LED state.
 
+               Present only if the named network device supports 1000Mbps link speed.
+
 What:          /sys/class/leds/<led>/link_2500
 Date:          Nov 2023
 KernelVersion: 6.8
@@ -127,6 +133,8 @@ Description:
                speed of 2500Mbps of the named network device.
                Setting this value also immediately changes the LED state.
 
+               Present only if the named network device supports 2500Mbps link speed.
+
 What:          /sys/class/leds/<led>/link_5000
 Date:          Nov 2023
 KernelVersion: 6.8
@@ -140,6 +148,8 @@ Description:
                speed of 5000Mbps of the named network device.
                Setting this value also immediately changes the LED state.
 
+               Present only if the named network device supports 5000Mbps link speed.
+
 What:          /sys/class/leds/<led>/link_10000
 Date:          Nov 2023
 KernelVersion: 6.8
@@ -153,6 +163,8 @@ Description:
                speed of 10000Mbps of the named network device.
                Setting this value also immediately changes the LED state.
 
+               Present only if the named network device supports 10000Mbps link speed.
+
 What:          /sys/class/leds/<led>/half_duplex
 Date:          Jun 2023
 KernelVersion: 6.5