aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sbsh/if_sbsh.c
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-15 06:37:30 +0000
commitf246e4a17fd469ab781124a678e103d44d637c5f (patch)
tree1bdd3154994e1ca8f70eb0f16c9b58a107fcc11e /sys/dev/sbsh/if_sbsh.c
parent10646d5f83c7e84f352d3ea4d96caeb6c166859b (diff)
downloadsrc-f246e4a17fd469ab781124a678e103d44d637c5f.tar.gz
src-f246e4a17fd469ab781124a678e103d44d637c5f.zip
- 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.)
Notes
Notes: svn path=/head/; revision=113506
Diffstat (limited to 'sys/dev/sbsh/if_sbsh.c')
-rw-r--r--sys/dev/sbsh/if_sbsh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sbsh/if_sbsh.c b/sys/dev/sbsh/if_sbsh.c
index 1387b786a122..18efe1d53812 100644
--- a/sys/dev/sbsh/if_sbsh.c
+++ b/sys/dev/sbsh/if_sbsh.c
@@ -200,7 +200,8 @@ static driver_t sbsh_driver = {
static devclass_t sbsh_devclass;
-DRIVER_MODULE(if_sbsh, pci, sbsh_driver, sbsh_devclass, 0, 0);
+DRIVER_MODULE(sbsh, pci, sbsh_driver, sbsh_devclass, 0, 0);
+MODULE_DEPEND(sbsh, pci, 1, 1, 1);
static int
sbsh_probe(device_t dev)