summaryrefslogtreecommitdiffstats
path: root/sys/i4b
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-09 17:07:30 +0000
committerpeter <peter@FreeBSD.org>1999-05-09 17:07:30 +0000
commit41b420910c7daa4b3ef5861f2a9fc1bdea90e9d6 (patch)
tree872f3d9e8bfcc63217906645609dd7e7ebfc6e0d /sys/i4b
parent71c8afa0dd510576229f130234c59f9d6bf0bb87 (diff)
downloadFreeBSD-src-41b420910c7daa4b3ef5861f2a9fc1bdea90e9d6.zip
FreeBSD-src-41b420910c7daa4b3ef5861f2a9fc1bdea90e9d6.tar.gz
Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:
#define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
Diffstat (limited to 'sys/i4b')
-rw-r--r--sys/i4b/layer1/i4b_isic_pci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/i4b/layer1/i4b_isic_pci.c b/sys/i4b/layer1/i4b_isic_pci.c
index a1c0d35..c17dfc6 100644
--- a/sys/i4b/layer1/i4b_isic_pci.c
+++ b/sys/i4b/layer1/i4b_isic_pci.c
@@ -27,7 +27,7 @@
* i4b_isic_pci.c - PCI bus interface
* ==================================
*
- * $Id: i4b_isic_pci.c,v 1.3 1999/03/07 16:08:16 hm Exp $
+ * $Id: i4b_isic_pci.c,v 1.4 1999/04/24 20:24:02 peter Exp $
*
* last edit-date: [Wed Feb 17 15:19:44 1999]
*
@@ -102,11 +102,7 @@ static struct pci_device i4b_pci_driver = {
NULL
};
-#ifndef COMPAT_PCI_DRIVER
-DATA_SET (pcidevice_set, i4b_pci_driver);
-#else
COMPAT_PCI_DRIVER (isic_pci, i4b_pci_driver);
-#endif /* COMPAT_PCI_DRIVER */
static void isic_pci_intr_sc(struct isic_softc *sc);
OpenPOWER on IntegriCloud