diff options
author | imp <imp@FreeBSD.org> | 2004-05-08 06:04:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2004-05-08 06:04:06 +0000 |
commit | eaa54ff558abf98e508357e448009c6ab7655411 (patch) | |
tree | b3f4a0f662a3d637806bdfeeebd427c2b855fb90 /sys/dev/wi | |
parent | 40227f903a48cfe50c5388894560fb8221c58cd4 (diff) | |
download | FreeBSD-src-eaa54ff558abf98e508357e448009c6ab7655411.zip FreeBSD-src-eaa54ff558abf98e508357e448009c6ab7655411.tar.gz |
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.
Diffstat (limited to 'sys/dev/wi')
-rw-r--r-- | sys/dev/wi/if_wi_pccard.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi_pccard.c b/sys/dev/wi/if_wi_pccard.c index 09f384d..d817a2f 100644 --- a/sys/dev/wi/if_wi_pccard.c +++ b/sys/dev/wi/if_wi_pccard.c @@ -120,7 +120,6 @@ static driver_t wi_pccard_driver = { DRIVER_MODULE(wi, pccard, wi_pccard_driver, wi_devclass, 0, 0); MODULE_DEPEND(wi, wlan, 1, 1, 1); -MODULE_DEPEND(wi, pccard, 1, 1, 1); #if __FreeBSD_version >= 500000 static const struct pccard_product wi_pccard_products[] = { |