linux-stable/drivers/net/ethernet/broadcom
Florian Fainelli 263a425a48 net: systemport: Avoid RBUF stuck in Wake-on-LAN mode
After a number of suspend and resume cycles, it is possible for the RBUF
to be stuck in Wake-on-LAN mode, despite the MPD enable bit being
cleared which instructed the RBUF to exit that mode.

Avoid creating that problematic condition by clearing the RX_EN and
TX_EN bits in the UniMAC prior to disable the Magic Packet Detector
logic which is guaranteed to make the RBUF exit Wake-on-LAN mode.

Fixes: 83e82f4c70 ("net: systemport: add Wake-on-LAN support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-02-06 14:28:52 +01:00
..
bnx2x ocfs2/dlm: move BITS_TO_BYTES() to bitops.h for wider use 2020-01-31 10:30:36 -08:00
bnxt bnxt_en: Fix TC queue mapping. 2020-02-03 15:06:45 -08:00
genet Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-01-26 10:40:21 +01:00
b44.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-01-09 12:13:43 -08:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bcmsysport.c net: systemport: Avoid RBUF stuck in Wake-on-LAN mode 2020-02-06 14:28:52 +01:00
bcmsysport.h
bgmac-bcma-mdio.c
bgmac-bcma.c
bgmac-platform.c
bgmac.c net: convert suitable drivers to use phy_do_ioctl_running 2020-01-23 10:49:30 +01:00
bgmac.h
bnx2.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
bnx2.h
bnx2_fw.h
cnic.c cnic: Set fp_hsi_ver as part of CLIENT_SETUP ramrod 2019-11-05 18:25:14 -08:00
cnic.h
cnic_defs.h
cnic_if.h
Kconfig
Makefile
sb1250-mac.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-01-28 16:02:33 -08:00
tg3.c net: tg3: use skb_list_walk_safe helper for gso segments 2020-01-08 15:19:55 -08:00
tg3.h