067c62da11ef81ef5014b4787e3a9636afa3ea42
[openwrt/staging/wigyori.git] /
1 From f95b4725e796b12e5f347a0d161e1d3843142aa8 Mon Sep 17 00:00:00 2001
2 From: Daniel Golle <daniel@makrotopia.org>
3 Date: Fri, 4 Oct 2024 16:56:35 +0100
4 Subject: [PATCH] net: phy: mxl-gpy: add missing support for
5 TRIGGER_NETDEV_LINK_10
6
7 The PHY also support 10MBit/s links as well as the corresponding link
8 indication trigger to be offloaded. Add TRIGGER_NETDEV_LINK_10 to the
9 supported triggers.
10
11 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
12 Reviewed-by: Andrew Lunn <andrew@lunn.ch>
13 Link: https://patch.msgid.link/cc5da0a989af8b0d49d823656d88053c4de2ab98.1728057367.git.daniel@makrotopia.org
14 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
15 ---
16 drivers/net/phy/mxl-gpy.c | 1 +
17 1 file changed, 1 insertion(+)
18
19 --- a/drivers/net/phy/mxl-gpy.c
20 +++ b/drivers/net/phy/mxl-gpy.c
21 @@ -876,6 +876,7 @@ static int gpy_led_brightness_set(struct
22 }
23
24 static const unsigned long supported_triggers = (BIT(TRIGGER_NETDEV_LINK) |
25 + BIT(TRIGGER_NETDEV_LINK_10) |
26 BIT(TRIGGER_NETDEV_LINK_100) |
27 BIT(TRIGGER_NETDEV_LINK_1000) |
28 BIT(TRIGGER_NETDEV_LINK_2500) |