summaryrefslogtreecommitdiff
path: root/sys/dev/tx
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-04-24 20:17:05 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-04-24 20:17:05 +0000
commit96b3554e5c90242d0c5eea10fc394975d03303a8 (patch)
treedf3ac2ff838e9910e3d3aeba252766e697e2dc6a /sys/dev/tx
parent46f40af05253fcf39fcddabbe20a6b365fe73e4c (diff)
Notes
Diffstat (limited to 'sys/dev/tx')
-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 b58e44e897b2..63d62efd0d36 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*