diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-04-15 06:37:30 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-04-15 06:37:30 +0000 |
commit | 261178d14f232fd1e66908a6c6e97c3a4cd36adc (patch) | |
tree | 1bdd3154994e1ca8f70eb0f16c9b58a107fcc11e /sys/dev/usb/if_cue.c | |
parent | e7e7ff6c1cee7cfcbfd15e9651917287a315e054 (diff) | |
download | FreeBSD-src-261178d14f232fd1e66908a6c6e97c3a4cd36adc.zip FreeBSD-src-261178d14f232fd1e66908a6c6e97c3a4cd36adc.tar.gz |
- Express hard dependencies on bus (pci, isa, pccard) and
network layer (ether).
- Don't abuse module names to facilitate ifconfig module loading;
such abuse isn't really needed. (And if we do need type information
associated with a module then we should make it explicit and not
use hacks.)
Diffstat (limited to 'sys/dev/usb/if_cue.c')
-rw-r--r-- | sys/dev/usb/if_cue.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index ac25b47..b88d56f 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -139,8 +139,9 @@ Static driver_t cue_driver = { Static devclass_t cue_devclass; -DRIVER_MODULE(if_cue, uhub, cue_driver, cue_devclass, usbd_driver_load, 0); -MODULE_DEPEND(if_cue, usb, 1, 1, 1); +DRIVER_MODULE(cue, uhub, cue_driver, cue_devclass, usbd_driver_load, 0); +MODULE_DEPEND(cue, usb, 1, 1, 1); +MODULE_DEPEND(cue, ether, 1, 1, 1); #define CUE_SETBIT(sc, reg, x) \ cue_csr_write_1(sc, reg, cue_csr_read_1(sc, reg) | (x)) |