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/pci/ncr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/pci/ncr.c') diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index bd7b5c3..e331d4f 100644 --- a/sys/pci/ncr.c +++ b/sys/pci/ncr.c @@ -7157,7 +7157,8 @@ static driver_t ncr_driver = { static devclass_t ncr_devclass; -DRIVER_MODULE(if_ncr, pci, ncr_driver, ncr_devclass, 0, 0); +DRIVER_MODULE(ncr, pci, ncr_driver, ncr_devclass, 0, 0); +MODULE_DEPEND(ncr, pci, 1, 1, 1); /*=========================================================================*/ #endif /* _KERNEL */ -- cgit v1.1