diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-15 06:37:30 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2003-04-15 06:37:30 +0000 |
commit | f246e4a17fd469ab781124a678e103d44d637c5f (patch) | |
tree | 1bdd3154994e1ca8f70eb0f16c9b58a107fcc11e /sys/dev/vx | |
parent | 10646d5f83c7e84f352d3ea4d96caeb6c166859b (diff) | |
download | src-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/vx')
-rw-r--r-- | sys/dev/vx/if_vx_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/vx/if_vx_pci.c b/sys/dev/vx/if_vx_pci.c index df73eaf528ae..095f9df004ea 100644 --- a/sys/dev/vx/if_vx_pci.c +++ b/sys/dev/vx/if_vx_pci.c @@ -69,7 +69,9 @@ static driver_t vx_driver = { static devclass_t vx_devclass; -DRIVER_MODULE(if_vx, pci, vx_driver, vx_devclass, 0, 0); +DRIVER_MODULE(vx, pci, vx_driver, vx_devclass, 0, 0); +MODULE_DEPEND(vx, pci, 1, 1, 1); +MODULE_DEPEND(vx, ether, 1, 1, 1); static void vx_pci_shutdown( |