summaryrefslogtreecommitdiffstats
path: root/sys/dev/sn/if_sn_pccard.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-05-08 06:04:06 +0000
committerimp <imp@FreeBSD.org>2004-05-08 06:04:06 +0000
commiteaa54ff558abf98e508357e448009c6ab7655411 (patch)
treeb3f4a0f662a3d637806bdfeeebd427c2b855fb90 /sys/dev/sn/if_sn_pccard.c
parent40227f903a48cfe50c5388894560fb8221c58cd4 (diff)
downloadFreeBSD-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/sn/if_sn_pccard.c')
-rw-r--r--sys/dev/sn/if_sn_pccard.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sn/if_sn_pccard.c b/sys/dev/sn/if_sn_pccard.c
index 57551a8..51f120d 100644
--- a/sys/dev/sn/if_sn_pccard.c
+++ b/sys/dev/sn/if_sn_pccard.c
@@ -169,5 +169,4 @@ static driver_t sn_pccard_driver = {
extern devclass_t sn_devclass;
DRIVER_MODULE(sn, pccard, sn_pccard_driver, sn_devclass, 0, 0);
-MODULE_DEPEND(sn, pccard, 1, 1, 1);
MODULE_DEPEND(sn, ether, 1, 1, 1);
OpenPOWER on IntegriCloud