lkml.org 
[lkml]   [2001]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Linux 2.4.13-ac7
On Sun, Nov 04, 2001 at 05:59:00PM +0100, Marcus Meissner wrote:
> > 2.4.13-ac7
> > o Add support for one shot interrupt urbs (Maksim Krasnyanskiy)
> > in usbdevfs
>
> I don't see that patch, there is just one ir-usb.c patch in ac7...

It doesn't look like it really made it in. I've attached it below
again.

thanks,

greg k-h


diff --minimal -Nru a/drivers/usb/devio.c b/drivers/usb/devio.c
--- a/drivers/usb/devio.c Thu Nov 1 15:05:39 2001
+++ b/drivers/usb/devio.c Thu Nov 1 15:05:39 2001
@@ -844,6 +844,14 @@
uurb.buffer_length = totlen;
break;

+ case USBDEVFS_URB_TYPE_INTERRUPT:
+ uurb.number_of_packets = 0;
+ if (uurb.buffer_length > 16384)
+ return -EINVAL;
+ if (!access_ok((uurb.endpoint & USB_DIR_IN) ? VERIFY_WRITE : VERIFY_READ, uurb.buffer, uurb.buffer_length))
+ return -EFAULT;
+ break;
+
default:
return -EINVAL;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.062 / U:1.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site