Skip to content

Commit

Permalink
[SPARC64]: Fix reset handling in VNET driver.
Browse files Browse the repository at this point in the history
In vnet_event(), if the channel was reset, try to get the link
going again by invoking vio_port_up() after dropping the lock.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 18, 2007
1 parent a4cd184 commit d762acd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/sunvnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,8 @@ static void vnet_event(void *arg, int event)
vio_link_state_change(vio, event);
spin_unlock_irqrestore(&vio->lock, flags);

if (event == LDC_EVENT_RESET)
vio_port_up(vio);
return;
}

Expand Down

0 comments on commit d762acd

Please sign in to comment.