OpenCloudOS-Kernel/drivers/usb/mon
Alan Stern 1720058343 usbcore: trim down usb_bus structure
As part of the ongoing program to flatten out the HCD bus-glue layer,
this patch (as771b) eliminates the hcpriv, release, and kref fields
from struct usb_bus.  hcpriv and release were not being used for
anything worthwhile, and kref has been moved into the enclosing
usb_hcd structure.

Along with those changes, the patch gets rid of usb_bus_get and
usb_bus_put, replacing them with usb_get_hcd and usb_put_hcd.

The one interesting aspect is that the dev_set_drvdata call was
removed from usb_put_hcd, where it clearly doesn't belong.  This means
the driver private data won't get reset to NULL.  It shouldn't cause
any problems, since the private data is undefined when no driver is
bound.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:56 -07:00
..
Kconfig [PATCH] USB: ub documentation update 2005-08-04 21:32:46 -07:00
Makefile [PATCH] usbmon in 2.6.13: peeking into DMA areas 2005-09-08 16:28:36 -07:00
mon_dma.c [PATCH] USB: update usbmon, fix glued lines 2006-06-21 15:04:17 -07:00
mon_main.c usbcore: trim down usb_bus structure 2006-09-27 11:58:56 -07:00
mon_stat.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
mon_text.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
usb_mon.h USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00