diff options
author | jmb <jmb@FreeBSD.org> | 2000-04-02 06:28:40 +0000 |
---|---|---|
committer | jmb <jmb@FreeBSD.org> | 2000-04-02 06:28:40 +0000 |
commit | e9c1e57b929f3fdc5cfe5c2abf488d93b155d7d7 (patch) | |
tree | 47c811219f2fa64b7498d528e5ba061c1be10625 /sys/dev/usb/usb.h | |
parent | d63032307ca41e8bccddbaa5c33bc316d4fae7e6 (diff) | |
download | FreeBSD-src-e9c1e57b929f3fdc5cfe5c2abf488d93b155d7d7.zip FreeBSD-src-e9c1e57b929f3fdc5cfe5c2abf488d93b155d7d7.tar.gz |
if USB support is not compiled into the kernel,
and has not been loaded via a kldload,
running usbd(8) will autoload the "usb.ko" kld.
thanks to Peter Wemm for enlightening me on the
differences between kldfind(2) and modfind(2).
Diffstat (limited to 'sys/dev/usb/usb.h')
-rw-r--r-- | sys/dev/usb/usb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 7c48ed28..40f5d55 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -64,6 +64,10 @@ MALLOC_DECLARE(M_USBHC); #endif /* _KERNEL */ #endif /* __FreeBSD__ */ +/* these three defines are used by usbd to autoload the usb kld */ +#define USB_KLD "usb" +#define USB_OHCI "ohci/usb" +#define USB_UHCI "uhci/usb" #define USB_MAX_DEVICES 128 #define USB_START_ADDR 0 |