summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-17 15:55:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-17 15:55:43 +0000
commit8cb1a1f6c9600981e4080fa44207d08d8c080e8f (patch)
treeb4c18dd046072e349052a5fb347505a069d80d01 /sys/dev
parent960745ffd50cee8e1b3ca1327628bda99a920ed4 (diff)
support boot.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/wdreg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/wdreg.h b/sys/dev/isa/wdreg.h
index 2df0bd03a27..4b23e2041ea 100644
--- a/sys/dev/isa/wdreg.h
+++ b/sys/dev/isa/wdreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdreg.h,v 1.4 1996/09/09 06:17:29 downsj Exp $ */
+/* $OpenBSD: wdreg.h,v 1.5 1996/09/17 15:55:42 mickey Exp $ */
/* $NetBSD: wdreg.h,v 1.13 1995/03/29 21:56:46 briggs Exp $ */
/*-
@@ -144,7 +144,7 @@
#define PHASE_ABORTED 0
-#ifdef _KERNEL
+#if defined(_KERNEL) && !defined(_LOCORE)
/*
* read parameters command returns this:
*/
@@ -183,4 +183,4 @@ struct wdparams {
char wdp_vendor5[1];
char wdp_dmatiming; /* DMA timing mode */
};
-#endif /* _KERNEL */
+#endif /* _KERNEL && !_LOCORE*/