Yes, devio.c, proc_bulk():
if (len1 > PAGE_SIZE)
return -EINVAL;
Actually it is the max transfer size I can reach.
I guess that to limit the page size can be an impementation
advantage but it may slow-down a bit some userspace driver.
I feel that even if the linux way is to implement the USB
drivers in kernel space a full-featured USB user space access
should be allowed.
antirez
(please cc me)
-- Salvatore Sanfilippo | <antirez@invece.org> http://www.kyuzz.org/antirez | PGP: finger antirez@tella.alicom.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/