summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2003-11-03 09:22:18 +0000
committerdfr <dfr@FreeBSD.org>2003-11-03 09:22:18 +0000
commit590f57cc6230c30e732dc600ba07910b14540926 (patch)
tree72c2f12755e5178f1105ef8988d802511205c5c9 /sys/pci
parent95ff7648c4b81dd1a7cf3c8de107d78721401a59 (diff)
downloadFreeBSD-src-590f57cc6230c30e732dc600ba07910b14540926.zip
FreeBSD-src-590f57cc6230c30e732dc600ba07910b14540926.tar.gz
Remove explicit cardbus attachments from drivers where this is identical
to the pci attachment. Cardbus is a derived class of pci so all pci drivers are automatically available for matching against cardbus devices. Reviewed by: imp
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_dc.c1
-rw-r--r--sys/pci/if_rl.c1
-rw-r--r--sys/pci/if_xl.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 41194d8..ca59ef1 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -332,7 +332,6 @@ SYSCTL_INT(_hw, OID_AUTO, dc_quick, CTLFLAG_RW, &dc_quick, 0,
"do not m_devget() in dc driver");
#endif
-DRIVER_MODULE(dc, cardbus, dc_driver, dc_devclass, 0, 0);
DRIVER_MODULE(dc, pci, dc_driver, dc_devclass, 0, 0);
DRIVER_MODULE(miibus, dc, miibus_driver, miibus_devclass, 0, 0);
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index d73abda..e315a0c 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -253,7 +253,6 @@ static driver_t rl_driver = {
static devclass_t rl_devclass;
DRIVER_MODULE(rl, pci, rl_driver, rl_devclass, 0, 0);
-DRIVER_MODULE(rl, cardbus, rl_driver, rl_devclass, 0, 0);
DRIVER_MODULE(miibus, rl, miibus_driver, miibus_devclass, 0, 0);
#define EE_SET(x) \
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index b3a69d5..53a0301 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -293,7 +293,6 @@ static driver_t xl_driver = {
static devclass_t xl_devclass;
-DRIVER_MODULE(xl, cardbus, xl_driver, xl_devclass, 0, 0);
DRIVER_MODULE(xl, pci, xl_driver, xl_devclass, 0, 0);
DRIVER_MODULE(miibus, xl, miibus_driver, miibus_devclass, 0, 0);
OpenPOWER on IntegriCloud