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)
commite31260baa76865bc69c435d33b8685d131a52be7
tree6ba7ec5063ca79ceb683c66a7718073cd860231b
parent05eac4ae0bbbea9cda98a22d36aac4cc8fec9bdd
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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48246 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c