From eaa54ff558abf98e508357e448009c6ab7655411 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 8 May 2004 06:04:06 +0000 Subject: It turns out that the module dependency on pccard is in error. Since there's not dependencies on pccard symboles, such a dependency is not necessary. This means that drivers that have multiple attachments can not drag bogus devices into the kernel at load time. We can't (yet) do this with pci and isa. Drivers written for them actually do seem to have symbols that depend on these busses' implementation code. ndis not touched until other things can be tested. --- sys/dev/snc/if_snc_pccard.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/snc') diff --git a/sys/dev/snc/if_snc_pccard.c b/sys/dev/snc/if_snc_pccard.c index 0b59120..1478d26 100644 --- a/sys/dev/snc/if_snc_pccard.c +++ b/sys/dev/snc/if_snc_pccard.c @@ -80,7 +80,6 @@ static driver_t snc_pccard_driver = { DRIVER_MODULE(snc, pccard, snc_pccard_driver, snc_devclass, 0, 0); MODULE_DEPEND(snc, ether, 1, 1, 1); -MODULE_DEPEND(snc, pccard, 1, 1, 1); /* * snc_pccard_detach - unload the driver and clear the table. -- cgit v1.1