[PATCH net-next] net: phy: mxl-gpy: add missing support for TRIGGER_NETDEV_LINK_10
From: Daniel Golle
Date: Fri Oct 04 2024 - 12:02:07 EST
The PHY also support 10MBit/s links as well as the corresponding link
indication trigger to be offloaded. Add TRIGGER_NETDEV_LINK_10 to the
supported triggers.
Signed-off-by: Daniel Golle <daniel@xxxxxxxxxxxxxx>
---
drivers/net/phy/mxl-gpy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/phy/mxl-gpy.c b/drivers/net/phy/mxl-gpy.c
index 6279f88c4979..1c9cd00c7bee 100644
--- a/drivers/net/phy/mxl-gpy.c
+++ b/drivers/net/phy/mxl-gpy.c
@@ -897,6 +897,7 @@ static int gpy_led_brightness_set(struct phy_device *phydev,
}
static const unsigned long supported_triggers = (BIT(TRIGGER_NETDEV_LINK) |
+ BIT(TRIGGER_NETDEV_LINK_10) |
BIT(TRIGGER_NETDEV_LINK_100) |
BIT(TRIGGER_NETDEV_LINK_1000) |
BIT(TRIGGER_NETDEV_LINK_2500) |
--
2.46.2