aboutsummaryrefslogtreecommitdiff
path: root/sys/pci/if_de.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-11-22 06:45:57 +0000
committerBruce Evans <bde@FreeBSD.org>1997-11-22 06:45:57 +0000
commit2dca18f1595c79b3217df986748704ecd5ed9223 (patch)
treeaa04ab5799913aa955f7e47cc34432e89b029fbd /sys/pci/if_de.c
parent865737f450f8432814bd9d5b4fad3760236df539 (diff)
downloadsrc-2dca18f1595c79b3217df986748704ecd5ed9223.tar.gz
src-2dca18f1595c79b3217df986748704ecd5ed9223.zip
Ifdefed a conditionally used #include.
Staticized.
Notes
Notes: svn path=/head/; revision=31350
Diffstat (limited to 'sys/pci/if_de.c')
-rw-r--r--sys/pci/if_de.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c
index 224942534b57..2ca1d6455b05 100644
--- a/sys/pci/if_de.c
+++ b/sys/pci/if_de.c
@@ -1,5 +1,5 @@
/* $NetBSD: if_de.c,v 1.56 1997/10/20 14:32:46 matt Exp $ */
-/* $Id: if_de.c,v 1.73 1997/10/25 14:32:15 phk Exp $ */
+/* $Id: if_de.c,v 1.74 1997/11/08 14:46:53 peter Exp $ */
/*-
* Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com)
@@ -64,7 +64,9 @@
#include <net/if_media.h>
#endif
#include <net/if_dl.h>
+#ifdef TULIP_USE_SOFTINTR
#include <net/netisr.h>
+#endif
#if defined(__bsdi__) && _BSDI_VERSION >= 199701
#include <dev/mii/mii.h>
@@ -4897,7 +4899,7 @@ tulip_pci_probe(
static void tulip_pci_attach(TULIP_PCI_ATTACH_ARGS);
static u_long tulip_pci_count;
-struct pci_device dedevice = {
+static struct pci_device dedevice = {
"de",
tulip_pci_probe,
tulip_pci_attach,