summaryrefslogtreecommitdiffstats
path: root/sys/dev/tx/if_tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/tx/if_tx.c')
-rw-r--r--sys/dev/tx/if_tx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c
index b58e44e..63d62ef 100644
--- a/sys/dev/tx/if_tx.c
+++ b/sys/dev/tx/if_tx.c
@@ -1,5 +1,5 @@
/* $OpenBSD: if_tx.c,v 1.3 1998/10/10 04:30:09 jason Exp $ */
-/* $Id: if_tx.c,v 1.23 1999/03/31 13:50:52 nsayer Exp $ */
+/* $Id: if_tx.c,v 1.24 1999/04/17 08:36:07 peter Exp $ */
/*-
* Copyright (c) 1997 Semen Ustimenko (semen@iclub.nsu.ru)
@@ -392,7 +392,11 @@ static struct pci_device txdevice = {
NULL };
/* Append this driver to pci drivers list */
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER (tx, txdevice);
+#else
DATA_SET ( pcidevice_set, txdevice );
+#endif /* COMPAT_PCI_DRIVER */
/* Synopsis: Check if device id corresponds with SMC83C170 id. */
static const char*
OpenPOWER on IntegriCloud