cvs commit: src/sys/dev/usb usb_subr.c
imp at FreeBSD.org
Sun Jun 17 07:34:01 UTC 2007
imp 2007-06-17 07:34:00 UTC
FreeBSD src repository
Expand USB_DO_ATTACH inline.
Remove device_t dv, since it is no longer needed.
Add sizeof(device_t) to replace sizeof dv.
Change device_detach(dev) to device_detach(dev->subdevs[i]) since the type
of dev isn't right! Not sure when this was introduced, but it likely would
lead to a crash on disconnect.
MFC After: 1 week
Revision Changes Path
1.93 +8 -12 src/sys/dev/usb/usb_subr.c
More information about the cvs-src