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/
This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:23 EST