diff options
author | n_hibma <n_hibma@FreeBSD.org> | 1998-12-09 23:36:15 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 1998-12-09 23:36:15 +0000 |
commit | ff213ddb78391d3b7987d882cee8311e71bfcee6 (patch) | |
tree | 250fd09c4c1fabc311884a9c64176e48dc077267 /sys/dev/usb/usb_subr.c | |
parent | 1e167561f8097938bd2ee681a27aa32b3b30ce93 (diff) | |
download | FreeBSD-src-ff213ddb78391d3b7987d882cee8311e71bfcee6.zip FreeBSD-src-ff213ddb78391d3b7987d882cee8311e71bfcee6.tar.gz |
Various bug fixes:
1) Removed 'emulation' of bitmaps in printfs, FreeBSD seems to have caught
up on that one
2) Fixed a few bugs in the timeout/timo timeout variables
3) First attempt at fixing a bug mentioned by Kazu: uhci_run is not able
start/stop his USB host on his motherboard.
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
-rw-r--r-- | sys/dev/usb/usb_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c index 63fc7e4..c589153 100644 --- a/sys/dev/usb/usb_subr.c +++ b/sys/dev/usb/usb_subr.c @@ -816,8 +816,9 @@ usbd_remove_device(dev, up) #if defined(__NetBSD__) /* XXX bit of a hack, only for hubs the detach is called - * the code should register a detach function and use that one - * to detach a device porperly + * + * easiest solution, register a detach method in the softc, call that + * one and pass the device struct to it, or the softc. Whatever. */ if (dev->bdev && dev->hub) uhub_detach(dev->hub->hubdata); |