From ff213ddb78391d3b7987d882cee8311e71bfcee6 Mon Sep 17 00:00:00 2001 From: n_hibma Date: Wed, 9 Dec 1998 23:36:15 +0000 Subject: 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. --- sys/dev/usb/usb_subr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/usb_subr.c') 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); -- cgit v1.1