ar71xx: fix ethernet MAC reset on DMA hang
authorFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jan 2016 12:59:30 +0000 (12:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 15 Jan 2016 12:59:30 +0000 (12:59 +0000)
commitc30685ad87a3649ba54beed0139bef43d17a6fca
tree6ba7ec5063ca79ceb683c66a7718073cd860231b
parent4ecf4779df12131aa293d6020afd542f3149fdce
ar71xx: fix ethernet MAC reset on DMA hang

Fully reset the chip like on a full up/down, but without the PHY
statemachine restart.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r48228

SVN-Revision: 48246
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c