summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-23 16:24:51 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-23 16:24:51 +0000
commit24fabe7a71c0d5bed6862f0576b282e3d8b7c4df (patch)
tree3bb54d61b448c870ee9dd2d71b625fffed9a8875 /sys/dev/pci
parente36acd78f464d3733de401fb47479555bb5e6896 (diff)
__OpenBSD__ messup fixed
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_de.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 96533241529..b016eb83a32 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.12 1996/08/21 22:27:52 deraadt Exp $ */
+/* $OpenBSD: if_de.c,v 1.13 1996/08/23 16:24:50 niklas Exp $ */
/* $NetBSD: if_de.c,v 1.22.4.1 1996/06/03 20:32:07 cgd Exp $ */
/*-
@@ -165,7 +165,7 @@ typedef bus_io_size_t tulip_csrptr_t;
#define TULIP_PCI_CSRSIZE 8
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#if !defined(__NetBSD__) && !defined(__OpenBSD__)
typedef volatile tulip_uint32_t *tulip_csrptr_t;
/*
@@ -2433,7 +2433,7 @@ tulip_pci_attach(
#endif
int retval, idx, revinfo, id;
#if !defined(TULIP_IOMAPPED) && !defined(__bsdi__) && \
- !(defined(__NetBSD__) || defined(__OpenBSD__))
+ !defined(__NetBSD__) && !defined(__OpenBSD__)
vm_offset_t pa_csrs;
#endif
unsigned csrsize = TULIP_PCI_CSRSIZE;