aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorDaniel Golle <[email protected]>2024-04-21 01:08:31 +0100
committerDavid S. Miller <[email protected]>2024-04-24 11:50:49 +0100
commit5b5f724b05c550e10693a53a81cadca901aefd16 (patch)
tree7ff0ede1387aa9e21931e6e762dd48fdec6c2271 /tools/testing/selftests/bpf/progs/test_autoload.c
parentf2a904107ee2b647bb7794a1a82b67740d7c8a64 (diff)
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 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions