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/an | |
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/an')
-rw-r--r-- | sys/dev/an/if_an_pccard.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c index 2dbd48a..c9587c9 100644 --- a/sys/dev/an/if_an_pccard.c +++ b/sys/dev/an/if_an_pccard.c @@ -105,7 +105,6 @@ static devclass_t an_pccard_devclass; DRIVER_MODULE(an, pccard, an_pccard_driver, an_pccard_devclass, 0, 0); MODULE_DEPEND(an, wlan, 1, 1, 1); -MODULE_DEPEND(an, pccard, 1, 1, 1); static const struct pccard_product an_pccard_products[] = { PCMCIA_CARD(AIRONET, PC4800, 0), |