Hans Petter Selasky
11bcf702f4
Move the device_delete_all_children() function from usb_util.c
...
to kern/subr_bus.c. Simplify this function so that it no longer
depends on malloc() to execute. Identify a few other places where
it makes sense to use device_delete_all_children().
MFC after: 1 week
2011-11-19 10:11:50 +00:00
Andrew Thompson
ed6d949afd
- Make struct usb_xfer opaque so that drivers can not access the internals
...
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
2009-06-23 02:19:59 +00:00
Andrew Thompson
759736470c
Fix _USB2_* refernces in the header protection defines.
2009-06-15 01:09:19 +00:00
Andrew Thompson
a593f6b8de
s/usb2_/usb_|usbd_/ on all function names for the USB stack.
2009-06-15 01:02:43 +00:00
Andrew Thompson
8437751d86
Remove usb2_cv_* and just use the kernel condvar implementation, it was needed
...
earlier since condition variables didnt work with Giant but this was fixed 10
months ago.
2009-06-15 00:33:18 +00:00
Andrew Thompson
80536a485c
MFp4 //depot/projects/usb@159446
...
Remove unused and depreciated function: usb2_get_devid().
Submitted by: Hans Petter Selasky
2009-03-20 22:12:15 +00:00
Andrew Thompson
bdc081c60f
MFp4 //depot/projects/usb@159392
...
Add ifdefs for making parts of usb conditional.
Submitted by: Hans Petter Selasky
2009-03-20 21:48:11 +00:00
Andrew Thompson
02ac645488
Move the new USB stack into its new home.
2009-02-23 18:31:00 +00:00