From 50fbb1fb9fc90999e9ab376acde71e2c43db7e52 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 28 Nov 2003 05:28:29 +0000 Subject: 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@) --- sys/pci/if_dc.c | 1 + sys/pci/if_rl.c | 1 + sys/pci/if_xl.c | 1 + 3 files changed, 3 insertions(+) (limited to 'sys/pci') 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); -- cgit v1.1