ar71xx: fix ethernet MAC reset on DMA hang
authorFelix Fietkau <nbd@openwrt.org>
Wed, 13 Jan 2016 16:22:16 +0000 (16:22 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 13 Jan 2016 16:22:16 +0000 (16:22 +0000)
commit5c5c60fec43e4127e053b938e0f563a34a5bb7ec
treef9248184a7b6016c198a283dc20d20b134c2035f
parentcf2cf43717adc3ae3134514c8f4130cf41e5979a
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>
SVN-Revision: 48228
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c