summaryrefslogtreecommitdiffstats
path: root/sys/dev/snc
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/snc
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/snc')
-rw-r--r--sys/dev/snc/if_snc_pccard.c1
1 files changed, 0 insertions, 1 deletions
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.
OpenPOWER on IntegriCloud