kernel-ark/drivers/usb/core
Alan Stern 9ad3d6ccf5 [PATCH] USB: Remove USB private semaphore
This patch (as605) removes the private udev->serialize semaphore,
relying instead on the locking provided by the embedded struct device's
semaphore.  The changes are confined to the core, except that the
usb_trylock_device routine now uses the return convention of
down_trylock rather than down_read_trylock (they return opposite values
for no good reason).

A couple of other associated changes are included as well:

	Now that we aren't concerned about HCDs that avoid using the
	hcd glue layer, usb_disconnect no longer needs to acquire the
	usb_bus_lock -- that can be done by usb_remove_hcd where it
	belongs.

	Devices aren't locked over the same scope of code in
	usb_new_device and hub_port_connect_change as they used to be.
	This shouldn't cause any trouble.

Along with the preceding driver core patch, this needs a lot of testing.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-04 13:48:34 -08:00
..
buffer.c [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -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: Remove USB private semaphore 2006-01-04 13:48:34 -08:00
devio.c [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00
driver.c [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00
file.c [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
hcd-pci.c [PATCH] USB: Fix USB suspend/resume crasher (#2) 2005-11-29 21:39:23 -08:00
hcd.c [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00
hcd.h [PATCH] USB: central handling for host controllers that were reset during suspend/resume 2006-01-04 13:48:31 -08:00
hub.c [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00
hub.h [PATCH] USB: make wHubCharacteristics __le16 to match other usb descriptor fields 2005-10-28 16:47:42 -07:00
inode.c [PATCH] usbfs: usbfs_dir_inode_operations cleanup 2005-11-17 11:29:53 -08:00
Kconfig [PATCH] root hub updates (greater half) 2005-10-28 16:47:40 -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: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
notify.c [PATCH] USB: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -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: move CONFIG_USB_DEBUG checks into the Makefile 2005-11-17 11:29:55 -08:00
usb.c [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00
usb.h [PATCH] USB: Remove USB private semaphore 2006-01-04 13:48:34 -08:00