Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d762acdbd3b2bd9a714ace47d7b0c76133d7b295
Commit:     d762acdbd3b2bd9a714ace47d7b0c76133d7b295
Parent:     a4cd184503f448dda346d2338aa61cb560cc1b14
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Wed Jul 18 00:07:39 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Jul 18 01:20:18 2007 -0700

    [SPARC64]: Fix reset handling in VNET driver.
    
    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 <[EMAIL PROTECTED]>
---
 drivers/net/sunvnet.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/sunvnet.c b/drivers/net/sunvnet.c
index b69f552..b801e3b 100644
--- a/drivers/net/sunvnet.c
+++ b/drivers/net/sunvnet.c
@@ -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;
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to