kernel-ark/drivers/usb/core
Micah Dowty e016683d59 [PATCH] USB: Remove 4088-byte limit on usbfs control URBs
This patch removes the artificial 4088-byte limit that usbfs
currently places on Control transfers. The USB spec does not
specify a strict limit on the size of an entire control transfer.
It does, however, state that the data stage "follows the same
protocol rules as bulk transfers." (USB 2, 8.5.3)

The level of support for large control transfers in real host
controllers varies, but it's important to support at least 4K
transfers. Windows enforces a maximum control transfer size
of 4K, so there exists some hardware that requires a full 4096
byte data stage. Without this patch, we fall short of that by
8 bytes on architectures with a 4K page size, and it becomes
impossible to support such hardware with a user-space driver.

Since any limit placed on control transfers by usbfs would be
arbitrary, this patch replaces the PAGE_SIZE limit with the same
arbitrary limit used by bulk transfers.

Signed-off-by: Micah Dowty <micah@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 15:04:11 -07:00
..
buffer.c [PATCH] USB: don't allocate dma pools for PIO HCDs 2006-01-04 13:51:39 -08:00
config.c [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
devices.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
devio.c [PATCH] USB: Remove 4088-byte limit on usbfs control URBs 2006-06-21 15:04:11 -07:00
driver.c [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem 2006-03-20 13:42:58 -08:00
file.c [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
hcd-pci.c [PATCH] pm: print name of failed suspend function 2006-04-14 11:41:25 -07:00
hcd.c [SPARC]: Kill __irq_itoa(). 2006-06-20 01:21:29 -07:00
hcd.h [PATCH] USB: remove usbcore-specific wakeup flags 2006-03-20 14:49:56 -08:00
hub.c [PATCH] USB: usbcore: always turn on hub port power 2006-06-21 15:04:09 -07:00
hub.h [PATCH] USB: Consider power budget when choosing configuration 2006-01-04 13:48:34 -08:00
inode.c [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem 2006-01-09 15:59:24 -08:00
Kconfig [PATCH] USB: otg hub support is optional 2006-04-14 11:12:23 -07:00
Makefile [PATCH] USB: reorg some functions out of the main usb.c file 2006-01-04 13:48:31 -08:00
message.c [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) 2006-03-20 14:50:01 -08:00
notify.c [PATCH] Notifier chain update: API changes 2006-03-27 08:44:50 -08:00
otg_whitelist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
urb.c [PATCH] USB: add might_sleep() to usb_unlink_urb() to warn developers 2006-01-31 17:23:42 -08:00
usb.c [PATCH] USB: drivers/usb/core/: remove unused exports 2006-04-14 11:12:22 -07:00
usb.h [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00