aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-04-24 20:24:02 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-04-24 20:24:02 +0000
commit38a67d80b4a4f2da182a96a140bf985f4ff2ad67 (patch)
tree6f89e4ac5a8cbebebe8f0fd884152ce425a2b5a4 /sys
parent57a6bf02a3c3c2881059b880c9fa0ec606962e77 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/contrib/dev/oltr/if_oltr.c6
-rw-r--r--sys/i4b/layer1/i4b_isic_pci.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/contrib/dev/oltr/if_oltr.c b/sys/contrib/dev/oltr/if_oltr.c
index 0f9051259ffa..902250f4a913 100644
--- a/sys/contrib/dev/oltr/if_oltr.c
+++ b/sys/contrib/dev/oltr/if_oltr.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_oltr.c,v 1.2 1999/03/10 17:45:26 julian Exp $
+ * $Id: if_oltr.c,v 1.3 1999/04/21 07:02:19 peter Exp $
*/
@@ -259,7 +259,11 @@ static struct pci_device oltr_device = {
NULL
};
+#ifndef COMPAT_PCI_DRIVER
DATA_SET(pcidevice_set, oltr_device);
+#else
+COMPAT_PCI_DRIVER(oltr_pci, oltr_device);
+#endif /* COMPAT_PCI_DRIVER */
int pci_cards = 0;
#endif /* NPCI */
diff --git a/sys/i4b/layer1/i4b_isic_pci.c b/sys/i4b/layer1/i4b_isic_pci.c
index b600f30a74e4..a1c0d35377f6 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.11 1999/02/17 14:31:42 hm Exp $
+ * $Id: i4b_isic_pci.c,v 1.3 1999/03/07 16:08:16 hm Exp $
*
* last edit-date: [Wed Feb 17 15:19:44 1999]
*
@@ -102,7 +102,11 @@ 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);