speedtch usbatm.c,1.62,1.63 usbatm.h,1.30,1.31

Duncan Sands duncan at infradead.org
Thu Jan 12 10:38:38 EST 2006


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv6324

Modified Files:
	usbatm.c usbatm.h 
Log Message:
EILSEQ hack to workaround ueagle problems.


Index: usbatm.c
===================================================================
RCS file: /home/cvs/speedtch/usbatm.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- usbatm.c	12 Jan 2006 15:29:11 -0000	1.62
+++ usbatm.c	12 Jan 2006 15:38:35 -0000	1.63
@@ -270,7 +270,10 @@
 
 	spin_unlock_irqrestore(&channel->lock, flags);
 
-	if (unlikely(urb->status)) {
+	if (unlikely(urb->status) &&
+			(!(channel->usbatm->flags & UDSL_IGNORE_EILSEQ) ||
+			 urb->status != -EILSEQ ))
+	{
 		if (printk_ratelimit())
 			atm_warn(channel->usbatm, "%s: urb 0x%p failed (%d)!\n",
 				__func__, urb, urb->status);

Index: usbatm.h
===================================================================
RCS file: /home/cvs/speedtch/usbatm.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- usbatm.h	10 Jan 2006 23:02:28 -0000	1.30
+++ usbatm.h	12 Jan 2006 15:38:35 -0000	1.31
@@ -88,6 +88,7 @@
 
 #define UDSL_SKIP_HEAVY_INIT	(1<<0)
 #define UDSL_USE_ISOC		(1<<1)
+#define UDSL_IGNORE_EILSEQ	(1<<2)
 
 
 /* mini driver */




More information about the Usbatm-commits mailing list