diff mbox series

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

Message ID cc5da0a989af8b0d49d823656d88053c4de2ab98.1728057367.git.daniel@makrotopia.org (mailing list archive)
State Accepted
Commit f95b4725e796b12e5f347a0d161e1d3843142aa8
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net: phy: mxl-gpy: add missing support for TRIGGER_NETDEV_LINK_10 | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 6 this patch: 6
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 8 of 8 maintainers
netdev/build_clang success Errors and warnings before: 6 this patch: 6
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 5 this patch: 5
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-10-06--15-00 (tests: 775)

Commit Message

Daniel Golle Oct. 4, 2024, 3:56 p.m. UTC
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(+)

Comments

Andrew Lunn Oct. 4, 2024, 9:26 p.m. UTC | #1
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
patchwork-bot+netdevbpf@kernel.org Oct. 8, 2024, 12:30 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 4 Oct 2024 16:56:35 +0100 you 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>
> ---
>  drivers/net/phy/mxl-gpy.c | 1 +
>  1 file changed, 1 insertion(+)

Here is the summary with links:
  - [net-next] net: phy: mxl-gpy: add missing support for TRIGGER_NETDEV_LINK_10
    https://git.kernel.org/netdev/net-next/c/f95b4725e796

You are awesome, thank you!
diff mbox series

Patch

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) |