From 261178d14f232fd1e66908a6c6e97c3a4cd36adc Mon Sep 17 00:00:00 2001 From: mdodd Date: Tue, 15 Apr 2003 06:37:30 +0000 Subject: - 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.) --- sys/dev/an/if_an_pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/an/if_an_pci.c') diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c index 2969daa..eba74db 100644 --- a/sys/dev/an/if_an_pci.c +++ b/sys/dev/an/if_an_pci.c @@ -297,5 +297,6 @@ static driver_t an_pci_driver = { static devclass_t an_devclass; -DRIVER_MODULE(if_an, pci, an_pci_driver, an_devclass, 0, 0); -MODULE_DEPEND(if_an, wlan, 1, 1, 1); +DRIVER_MODULE(an, pci, an_pci_driver, an_devclass, 0, 0); +MODULE_DEPEND(an, pci, 1, 1, 1); +MODULE_DEPEND(an, wlan, 1, 1, 1); -- cgit v1.1