OpenCloudOS-Kernel/drivers/usb/core
Alan Stern d5926ae7a8 [PATCH] usbcore support for root-hub IRQ instead of polling
This is a revised version of an earlier patch to add support to usbcore
for driving root hubs by interrupts rather than polling.

There's a temporary flag added to struct usb_hcd, marking devices whose
drivers are aware of the new mechanism.  By default that flag doesn't get
set so drivers will continue to see the same polling behavior as before.
This way we can convert the HCDs one by one to use interrupt-based event
reporting, and the temporary flag can be removed when they're all done.

Also included is a small change to the hcd_disable_endpoint routine.
Although endpoints normally shouldn't be disabled while a controller is
suspended, it's legal to do so when the controller's driver is being
rmmod'ed.

Lastly the patch adds a new callback, .hub_irq_enable, for use by HCDs
where the root hub's port-change interrupts are level-triggered rather
than edge-triggered.  The callback is invoked each time khubd has finished
processing a root hub, to let the HCD know that the interrupt can safely
be re-enabled.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-27 14:43:45 -07:00
..
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
buffer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
config.c [PATCH] USB: fix up some sparse warnings about static functions that aren't static. 2005-04-18 17:39:24 -07:00
devices.c [PATCH] make driver's name be const char * 2005-06-20 15:15:01 -07:00
devio.c [PATCH] USB: turn a user mode driver error into a hard error 2005-06-27 14:43:42 -07:00
file.c [PATCH] USB: trivial error path fix 2005-06-20 15:15:09 -07:00
hcd-pci.c [PATCH] usb resume fixes 2005-04-18 17:39:22 -07:00
hcd.c [PATCH] usbcore support for root-hub IRQ instead of polling 2005-06-27 14:43:45 -07:00
hcd.h [PATCH] usbcore support for root-hub IRQ instead of polling 2005-06-27 14:43:45 -07:00
hub.c [PATCH] usbcore support for root-hub IRQ instead of polling 2005-06-27 14:43:45 -07:00
hub.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c [PATCH] remove duplicate get_dentry functions in various places 2005-06-23 09:45:20 -07:00
message.c [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
otg_whitelist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c [PATCH] USB: fix show_modalias() function due to attribute change 2005-06-20 15:27:35 -07:00
urb.c [PATCH] USB: Spelling fixes for drivers/usb. 2005-05-03 23:31:52 -07:00
usb.c [PATCH] usbcore: Don't call device_release_driver recursively 2005-06-20 15:15:29 -07:00
usb.h [PATCH] USB: fix up some sparse warnings about static functions that aren't static. 2005-04-18 17:39:24 -07:00