]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: bcmgenet: Add support for PHY-based Wake-on-LAN
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 11 May 2023 17:21:10 +0000 (10:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 May 2023 15:56:29 +0000 (16:56 +0100)
commit7e400ff35cbe3b25fc1da1586b6cd9bc426dfb1c
tree7552c0e02e6b34db5a203ce70d5800dce155a806
parent8baddaa9d4bac939004b5058f3ade7e2bf0a6e43
net: bcmgenet: Add support for PHY-based Wake-on-LAN

If available, interrogate the PHY to find out whether we can use it for
Wake-on-LAN. This can be a more power efficient way of implementing
that feature, especially when the MAC is powered off in low power
states.

Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c