diff options
| author | Daniel Golle <[email protected]> | 2024-04-21 00:08:31 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2024-04-24 10:50:49 +0000 |
| commit | 5b5f724b05c550e10693a53a81cadca901aefd16 (patch) | |
| tree | 7ff0ede1387aa9e21931e6e762dd48fdec6c2271 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: gtp: Fix Use-After-Free in gtp_dellink (diff) | |
| download | kernel-5b5f724b05c550e10693a53a81cadca901aefd16.tar.gz kernel-5b5f724b05c550e10693a53a81cadca901aefd16.zip | |
net: phy: mediatek-ge-soc: follow netdev LED trigger semantics
Only blink if the link is up on a LED which is programmed to also
indicate link-status.
Otherwise, if both LEDs are in use to indicate different speeds, the
resulting blinking being inverted on LEDs which aren't switched on at
a specific speed is quite counter-intuitive.
Also make sure that state left behind by reset or the bootloader is
recognized correctly including the half-duplex and full-duplex bits as
well as the (unsupported by Linux netdev trigger semantics) link-down
bit.
Fixes: c66937b0f8db ("net: phy: mediatek-ge-soc: support PHY LEDs")
Signed-off-by: Daniel Golle <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
