summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-11-28 05:28:29 +0000
committerimp <imp@FreeBSD.org>2003-11-28 05:28:29 +0000
commit50fbb1fb9fc90999e9ab376acde71e2c43db7e52 (patch)
treef3a75060791c0ddccff507c8cb62ab6ffc682113 /sys/pci
parent9f0b8cac1eb7f7f814567ba61355226394431462 (diff)
downloadFreeBSD-src-50fbb1fb9fc90999e9ab376acde71e2c43db7e52.zip
FreeBSD-src-50fbb1fb9fc90999e9ab376acde71e2c43db7e52.tar.gz
Sometimes cardbus attachments don't attach, so while we track down
this problem put these lines back in. While they should be unnecessary, they appear to be sometimes necessary. Reviewed in concept: dfr Approved by: re (scottl@)
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, 3 insertions, 0 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 45ec33f..03f4524 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -331,6 +331,7 @@ 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 526b727..746ecdd 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -252,6 +252,7 @@ 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 3f5e8c9..e087506 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -292,6 +292,7 @@ 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