summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
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/dev/aic7xxx
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/dev/aic7xxx')
-rw-r--r--sys/dev/aic7xxx/ahc_pci.c1
-rw-r--r--sys/dev/aic7xxx/ahd_pci.c1
2 files changed, 0 insertions, 2 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);
OpenPOWER on IntegriCloud