DORMANTno replies

[PATCH 1 of 5][ATM]: [fore200e] can't sleep in transmit routine

From: chas williams - CONTRACTOR <hidden>
Date: 2005-01-26 16:56:46

please apply to 2.6

thanks!

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/01/24 13:21:28-05:00 chas@relax.cmf.nrl.navy.mil 
#   [ATM]: [fore200e] can't sleep in transmit routine
#   
#     Signed-off-by: Chas Williams [off-list ref]
# 
# drivers/atm/fore200e.c
#   2005/01/24 13:21:10-05:00 chas@relax.cmf.nrl.navy.mil +1 -1
#   [ATM]: [fore200e] can't sleep in transmit routine
#   
#     Signed-off-by: Chas Williams [off-list ref]
# 
diff -Nru a/drivers/atm/fore200e.c b/drivers/atm/fore200e.c
--- a/drivers/atm/fore200e.c	2005-01-25 09:36:27 -05:00
+++ b/drivers/atm/fore200e.c	2005-01-25 09:36:27 -05:00
@@ -1779,7 +1779,7 @@
 
 	    /* retry once again? */
 	    if (--retry > 0) {
-		schedule();
+		udelay(50);
 		goto retry_here;
 	    }
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help