1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/broadcom/genet
Florian Fainelli 9ee09edc05 net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities
Some Wake-on-LAN modes such as WAKE_FILTER may only be supported by the MAC,
while others might be only supported by the PHY. Make sure that the .get_wol()
returns the union of both rather than only that of the PHY if the PHY supports
Wake-on-LAN.

Fixes: 7e400ff35c ("net: bcmgenet: Add support for PHY-based Wake-on-LAN")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20240806175659.3232204-1-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-08-08 08:29:29 -07:00
..
bcmgenet.c net: bcmgenet: synchronize UMAC_CMD access 2024-04-29 06:24:22 +01:00
bcmgenet.h net: bcmgenet: synchronize UMAC_CMD access 2024-04-29 06:24:22 +01:00
bcmgenet_wol.c net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities 2024-08-08 08:29:29 -07:00
bcmmii.c net: bcmgenet: synchronize UMAC_CMD access 2024-04-29 06:24:22 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00