summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_aue.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
commit261178d14f232fd1e66908a6c6e97c3a4cd36adc (patch)
tree1bdd3154994e1ca8f70eb0f16c9b58a107fcc11e /sys/dev/usb/if_aue.c
parente7e7ff6c1cee7cfcbfd15e9651917287a315e054 (diff)
downloadFreeBSD-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_aue.c')
-rw-r--r--sys/dev/usb/if_aue.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index 1434615..80e8b42 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -92,8 +92,9 @@ __FBSDID("$FreeBSD$");
#include <dev/usb/if_auereg.h>
-MODULE_DEPEND(if_aue, miibus, 1, 1, 1);
-MODULE_DEPEND(if_aue, usb, 1, 1, 1);
+MODULE_DEPEND(aue, usb, 1, 1, 1);
+MODULE_DEPEND(aue, ether, 1, 1, 1);
+MODULE_DEPEND(aue, miibus, 1, 1, 1);
/* "controller miibus0" required. See GENERIC if you get errors here. */
#include "miibus_if.h"
@@ -235,7 +236,7 @@ Static driver_t aue_driver = {
Static devclass_t aue_devclass;
-DRIVER_MODULE(if_aue, uhub, aue_driver, aue_devclass, usbd_driver_load, 0);
+DRIVER_MODULE(aue, uhub, aue_driver, aue_devclass, usbd_driver_load, 0);
DRIVER_MODULE(miibus, aue, miibus_driver, miibus_devclass, 0, 0);
#define AUE_SETBIT(sc, reg, x) \
OpenPOWER on IntegriCloud