[PATCH net-next] net: phy: mxl-gpy: add missing support for TRIGGER_NETDEV_LINK_10

Daniel Golle posted 1 patch 1 month, 3 weeks ago
drivers/net/phy/mxl-gpy.c | 1 +
1 file changed, 1 insertion(+)
[PATCH net-next] net: phy: mxl-gpy: add missing support for TRIGGER_NETDEV_LINK_10
Posted by Daniel Golle 1 month, 3 weeks ago
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@makrotopia.org>
---
 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
Re: [PATCH net-next] net: phy: mxl-gpy: add missing support for TRIGGER_NETDEV_LINK_10
Posted by Andrew Lunn 1 month, 3 weeks ago
On Fri, Oct 04, 2024 at 04:56:35PM +0100, Daniel Golle wrote:
> 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@makrotopia.org>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew