diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2000-09-02 10:17:58 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2000-09-02 10:17:58 +0000 |
commit | 827cc0ab25a9a244dd59685b3226dea1c12e260d (patch) | |
tree | 69592e210d72f9abf8b2dbd8dd8bc08f0e906818 /usr.sbin/usbd/usbd.c | |
parent | 7e0b05fa532afe0d8c42ab1cacd9b746e176e688 (diff) | |
download | FreeBSD-src-827cc0ab25a9a244dd59685b3226dea1c12e260d.zip FreeBSD-src-827cc0ab25a9a244dd59685b3226dea1c12e260d.tar.gz |
Don't check for ohci/uhci to be loaded, check for the usb module.
Diffstat (limited to 'usr.sbin/usbd/usbd.c')
-rw-r--r-- | usr.sbin/usbd/usbd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/usbd/usbd.c b/usr.sbin/usbd/usbd.c index ecf1001..033c22c 100644 --- a/usr.sbin/usbd/usbd.c +++ b/usr.sbin/usbd/usbd.c @@ -902,9 +902,8 @@ main(int argc, char **argv) int itimeout = TIMEOUT; /* timeout for select */ struct timeval tv; - if (modfind(USB_OHCI) < 0 && modfind(USB_UHCI) < 0) { - if (kldload(USB_KLD) < 0 || - (modfind(USB_OHCI) < 0 && modfind(USB_UHCI) < 0)) { + if (modfind(USB_UHUB) < 0) { + if (kldload(USB_KLD) < 0 || modfind(USB_UHUB) < 0) { perror(USB_KLD ": Kernel module not available"); return 1; } |