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)
commit81cd44e327a2494adc5005bb2e171bb24c97ae21
treead393b95bec0d92d8b15b216cedf5910ae4cea25
parentb3e8d0efcde839ca868b7bade0b36198df2018b7
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