projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0458cbe
)
net: phy: mxl-gpy: add missing support for TRIGGER_NETDEV_LINK_10
author
Daniel Golle
<daniel@makrotopia.org>
Fri, 4 Oct 2024 15:56:35 +0000
(16:56 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 8 Oct 2024 00:12:36 +0000
(17:12 -0700)
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>
Link:
https://patch.msgid.link/cc5da0a989af8b0d49d823656d88053c4de2ab98.1728057367.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/mxl-gpy.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/phy/mxl-gpy.c
b/drivers/net/phy/mxl-gpy.c
index 092cc892d43a161d8be985d03f6a30782f173652..bc4abb957e1577c13f7f7aa7d3af835e8ad60736 100644
(file)
--- a/
drivers/net/phy/mxl-gpy.c
+++ b/
drivers/net/phy/mxl-gpy.c
@@
-884,6
+884,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) |