ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues

SVN-Revision: 27973
This commit is contained in:
Felix Fietkau 2011-08-13 21:49:46 +00:00
parent f681253412
commit 85ccc74e1b

View file

@ -795,6 +795,12 @@ static void ag71xx_restart_work_func(struct work_struct *work)
{ {
struct ag71xx *ag = container_of(work, struct ag71xx, restart_work); struct ag71xx *ag = container_of(work, struct ag71xx, restart_work);
if (ag71xx_get_pdata(ag)->is_ar724x) {
ag->link = 0;
ag71xx_link_adjust(ag);
return;
}
ag71xx_stop(ag->dev); ag71xx_stop(ag->dev);
ag71xx_open(ag->dev); ag71xx_open(ag->dev);
} }