diff options
author | dfr <dfr@FreeBSD.org> | 2003-11-03 09:22:18 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2003-11-03 09:22:18 +0000 |
commit | 590f57cc6230c30e732dc600ba07910b14540926 (patch) | |
tree | 72c2f12755e5178f1105ef8988d802511205c5c9 | |
parent | 95ff7648c4b81dd1a7cf3c8de107d78721401a59 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/dev/aic7xxx/ahc_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/aic7xxx/ahd_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/ath/if_ath_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/dc/if_dc.c | 1 | ||||
-rw-r--r-- | sys/dev/firewire/fwohci_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 1 | ||||
-rw-r--r-- | sys/dev/puc/puc_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/re/if_re.c | 1 | ||||
-rw-r--r-- | sys/dev/sio/sio_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/uart/uart_bus_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/usb/ehci_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/usb/ohci_pci.c | 1 | ||||
-rw-r--r-- | sys/dev/usb/uhci_pci.c | 1 | ||||
-rw-r--r-- | sys/pci/if_dc.c | 1 | ||||
-rw-r--r-- | sys/pci/if_rl.c | 1 | ||||
-rw-r--r-- | sys/pci/if_xl.c | 1 |
16 files changed, 0 insertions, 16 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c index 18c9d3e..46461b4 100644 --- a/sys/dev/aic7xxx/ahc_pci.c +++ b/sys/dev/aic7xxx/ahc_pci.c @@ -57,7 +57,6 @@ 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 3fde5ea..450b66a 100644 --- a/sys/dev/aic7xxx/ahd_pci.c +++ b/sys/dev/aic7xxx/ahd_pci.c @@ -60,7 +60,6 @@ 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 40ec01b..7f8e9cf 100644 --- a/sys/dev/ath/if_ath_pci.c +++ b/sys/dev/ath/if_ath_pci.c @@ -296,7 +296,6 @@ 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 41194d8..ca59ef1 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/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/dev/firewire/fwohci_pci.c b/sys/dev/firewire/fwohci_pci.c index 795aade..9836804 100644 --- a/sys/dev/firewire/fwohci_pci.c +++ b/sys/dev/firewire/fwohci_pci.c @@ -462,4 +462,3 @@ 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 39a42d0..e607a55 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -279,7 +279,6 @@ 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 74d7a2e..d2036c6 100644 --- a/sys/dev/puc/puc_pci.c +++ b/sys/dev/puc/puc_pci.c @@ -164,7 +164,6 @@ 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 549d3ae..5881f39 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -269,7 +269,6 @@ 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 30896c0..0833641 100644 --- a/sys/dev/sio/sio_pci.c +++ b/sys/dev/sio/sio_pci.c @@ -160,4 +160,3 @@ 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 2e4573d..1feb420 100644 --- a/sys/dev/uart/uart_bus_pci.c +++ b/sys/dev/uart/uart_bus_pci.c @@ -115,4 +115,3 @@ 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 00b2206..dee8177 100644 --- a/sys/dev/usb/ehci_pci.c +++ b/sys/dev/usb/ehci_pci.c @@ -334,4 +334,3 @@ 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 51a2c23..718d0d2 100644 --- a/sys/dev/usb/ohci_pci.c +++ b/sys/dev/usb/ohci_pci.c @@ -325,4 +325,3 @@ 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 48996f6..9e85a98 100644 --- a/sys/dev/usb/uhci_pci.c +++ b/sys/dev/usb/uhci_pci.c @@ -412,4 +412,3 @@ 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 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); |