summaryrefslogtreecommitdiffstats
path: root/sys
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
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')
-rw-r--r--sys/dev/aic7xxx/ahc_pci.c3
-rw-r--r--sys/dev/aic7xxx/ahd_pci.c3
-rw-r--r--sys/dev/ath/if_ath_pci.c1
-rw-r--r--sys/dev/dc/if_dc.c1
-rw-r--r--sys/dev/firewire/fwohci_pci.c1
-rw-r--r--sys/dev/fxp/if_fxp.c1
-rw-r--r--sys/dev/puc/puc_pci.c1
-rw-r--r--sys/dev/re/if_re.c1
-rw-r--r--sys/dev/sio/sio_pci.c1
-rw-r--r--sys/dev/uart/uart_bus_pci.c1
-rw-r--r--sys/dev/usb/ehci_pci.c1
-rw-r--r--sys/dev/usb/ohci_pci.c1
-rw-r--r--sys/dev/usb/uhci_pci.c1
-rw-r--r--sys/pci/if_dc.c1
-rw-r--r--sys/pci/if_rl.c1
-rw-r--r--sys/pci/if_xl.c1
16 files changed, 18 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c
index 46461b4..aca087b 100644
--- a/sys/dev/aic7xxx/ahc_pci.c
+++ b/sys/dev/aic7xxx/ahc_pci.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahc_pci.c,v 1.53 2003/05/03 23:27:57 gibbs Exp $
+ * $Id: ahc_pci.c,v 1.58 2003/11/03 09:22:16 dfr Exp $
*/
#include <sys/cdefs.h>
@@ -57,6 +57,7 @@ static driver_t ahc_pci_driver = {
};
DRIVER_MODULE(ahc_pci, pci, ahc_pci_driver, ahc_devclass, 0, 0);
+DRIVER_MODULE(ahc_pci, cardbus, ahc_pci_driver, ahc_devclass, 0, 0);
MODULE_DEPEND(ahc_pci, ahc, 1, 1, 1);
MODULE_VERSION(ahc_pci, 1);
diff --git a/sys/dev/aic7xxx/ahd_pci.c b/sys/dev/aic7xxx/ahd_pci.c
index 450b66a..8abc074 100644
--- a/sys/dev/aic7xxx/ahd_pci.c
+++ b/sys/dev/aic7xxx/ahd_pci.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahd_pci.c,v 1.8 2003/05/03 23:27:57 gibbs Exp $
+ * $Id: ahd_pci.c,v 1.13 2003/11/03 09:22:17 dfr Exp $
*/
#include <sys/cdefs.h>
@@ -60,6 +60,7 @@ static driver_t ahd_pci_driver = {
static devclass_t ahd_devclass;
DRIVER_MODULE(ahd, pci, ahd_pci_driver, ahd_devclass, 0, 0);
+DRIVER_MODULE(ahd, cardbus, ahd_pci_driver, ahd_devclass, 0, 0);
MODULE_DEPEND(ahd_pci, ahd, 1, 1, 1);
MODULE_VERSION(ahd_pci, 1);
diff --git a/sys/dev/ath/if_ath_pci.c b/sys/dev/ath/if_ath_pci.c
index 7f8e9cf..40ec01b 100644
--- a/sys/dev/ath/if_ath_pci.c
+++ b/sys/dev/ath/if_ath_pci.c
@@ -296,6 +296,7 @@ static driver_t ath_pci_driver = {
};
static devclass_t ath_devclass;
DRIVER_MODULE(if_ath, pci, ath_pci_driver, ath_devclass, 0, 0);
+DRIVER_MODULE(if_ath, cardbus, ath_pci_driver, ath_devclass, 0, 0);
MODULE_VERSION(if_ath, 1);
MODULE_DEPEND(if_ath, ath_hal, 1, 1, 1); /* Atheros HAL */
MODULE_DEPEND(if_ath, wlan, 1, 1, 1); /* 802.11 media layer */
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 45ec33f..03f4524 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/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/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c
index 9836804..795aade 100644
--- a/sys/dev/firewire/fwohci_pci.c
+++ b/sys/dev/firewire/fwohci_pci.c
@@ -462,3 +462,4 @@ static driver_t fwohci_driver = {
static devclass_t fwohci_devclass;
DRIVER_MODULE(fwohci, pci, fwohci_driver, fwohci_devclass, 0, 0);
+DRIVER_MODULE(fwohci, cardbus, fwohci_driver, fwohci_devclass, 0, 0);
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index e607a55..39a42d0 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -279,6 +279,7 @@ static driver_t fxp_driver = {
static devclass_t fxp_devclass;
DRIVER_MODULE(fxp, pci, fxp_driver, fxp_devclass, 0, 0);
+DRIVER_MODULE(fxp, cardbus, fxp_driver, fxp_devclass, 0, 0);
DRIVER_MODULE(miibus, fxp, miibus_driver, miibus_devclass, 0, 0);
static int fxp_rnr;
diff --git a/sys/dev/puc/puc_pci.c b/sys/dev/puc/puc_pci.c
index d2036c6..74d7a2e 100644
--- a/sys/dev/puc/puc_pci.c
+++ b/sys/dev/puc/puc_pci.c
@@ -164,6 +164,7 @@ static driver_t puc_pci_driver = {
};
DRIVER_MODULE(puc, pci, puc_pci_driver, puc_devclass, 0, 0);
+DRIVER_MODULE(puc, cardbus, puc_pci_driver, puc_devclass, 0, 0);
#define rdspio(indx) (bus_space_write_1(bst, bsh, efir, indx), \
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 13b1216..f96c17d 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -269,6 +269,7 @@ static driver_t re_driver = {
static devclass_t re_devclass;
DRIVER_MODULE(re, pci, re_driver, re_devclass, 0, 0);
+DRIVER_MODULE(re, cardbus, re_driver, re_devclass, 0, 0);
DRIVER_MODULE(miibus, re, miibus_driver, miibus_devclass, 0, 0);
#define EE_SET(x) \
diff --git a/sys/dev/sio/sio_pci.c b/sys/dev/sio/sio_pci.c
index 0833641..30896c0 100644
--- a/sys/dev/sio/sio_pci.c
+++ b/sys/dev/sio/sio_pci.c
@@ -160,3 +160,4 @@ sio_pci_probe(dev)
}
DRIVER_MODULE(sio, pci, sio_pci_driver, sio_devclass, 0, 0);
+DRIVER_MODULE(sio, cardbus, sio_pci_driver, sio_devclass, 0, 0);
diff --git a/sys/dev/uart/uart_bus_pci.c b/sys/dev/uart/uart_bus_pci.c
index 1feb420..2e4573d 100644
--- a/sys/dev/uart/uart_bus_pci.c
+++ b/sys/dev/uart/uart_bus_pci.c
@@ -115,3 +115,4 @@ uart_pci_probe(device_t dev)
}
DRIVER_MODULE(uart, pci, uart_pci_driver, uart_devclass, 0, 0);
+DRIVER_MODULE(uart, cardbus, uart_pci_driver, uart_devclass, 0, 0);
diff --git a/sys/dev/usb/ehci_pci.c b/sys/dev/usb/ehci_pci.c
index dee8177..00b2206 100644
--- a/sys/dev/usb/ehci_pci.c
+++ b/sys/dev/usb/ehci_pci.c
@@ -334,3 +334,4 @@ static driver_t ehci_driver = {
static devclass_t ehci_devclass;
DRIVER_MODULE(ehci, pci, ehci_driver, ehci_devclass, 0, 0);
+DRIVER_MODULE(ehci, cardbus, ehci_driver, ehci_devclass, 0, 0);
diff --git a/sys/dev/usb/ohci_pci.c b/sys/dev/usb/ohci_pci.c
index 718d0d2..51a2c23 100644
--- a/sys/dev/usb/ohci_pci.c
+++ b/sys/dev/usb/ohci_pci.c
@@ -325,3 +325,4 @@ static driver_t ohci_driver = {
static devclass_t ohci_devclass;
DRIVER_MODULE(ohci, pci, ohci_driver, ohci_devclass, 0, 0);
+DRIVER_MODULE(ohci, cardbus, ohci_driver, ohci_devclass, 0, 0);
diff --git a/sys/dev/usb/uhci_pci.c b/sys/dev/usb/uhci_pci.c
index 9e85a98..48996f6 100644
--- a/sys/dev/usb/uhci_pci.c
+++ b/sys/dev/usb/uhci_pci.c
@@ -412,3 +412,4 @@ static driver_t uhci_driver = {
static devclass_t uhci_devclass;
DRIVER_MODULE(uhci, pci, uhci_driver, uhci_devclass, 0, 0);
+DRIVER_MODULE(uhci, cardbus, uhci_driver, uhci_devclass, 0, 0);
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