summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-04-01 12:55:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-04-01 12:55:28 +0000
commita214a5e8ec7fe4390d1214cbc2e7ca570de9fd03 (patch)
tree2ef1d6c88d8333f2aa4649ab8d880da9a3540cd7 /sys
parent33fb5869176a003b9af61588836b26125edb6a4e (diff)
Let the hp300 boot blocks compile again after all the md include churning.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hp300/stand/common/hd.c3
-rw-r--r--sys/arch/hp300/stand/include/samachdep.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/hp300/stand/common/hd.c b/sys/arch/hp300/stand/common/hd.c
index c54b5a5782c..730857f789d 100644
--- a/sys/arch/hp300/stand/common/hd.c
+++ b/sys/arch/hp300/stand/common/hd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hd.c,v 1.8 2013/02/02 13:34:29 miod Exp $ */
+/* $OpenBSD: hd.c,v 1.9 2013/04/01 12:55:27 miod Exp $ */
/* $NetBSD: rd.c,v 1.11 1996/12/21 21:34:40 thorpej Exp $ */
/*
@@ -49,6 +49,7 @@
#include "samachdep.h"
+#define DEV_BSHIFT _DEV_BSHIFT
#include <hp300/dev/hdreg.h>
#include "hpibvar.h"
diff --git a/sys/arch/hp300/stand/include/samachdep.h b/sys/arch/hp300/stand/include/samachdep.h
index 1ce6717e8be..6463bae7706 100644
--- a/sys/arch/hp300/stand/include/samachdep.h
+++ b/sys/arch/hp300/stand/include/samachdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: samachdep.h,v 1.8 2013/01/07 20:02:11 miod Exp $ */
+/* $OpenBSD: samachdep.h,v 1.9 2013/04/01 12:55:27 miod Exp $ */
/* $NetBSD: samachdep.h,v 1.3 1997/05/12 07:54:45 thorpej Exp $ */
/*
@@ -44,7 +44,7 @@
#define NITE 4
/* from cpu.h */
-#undef IIOV
+#define INTIOBASE (0x00400000)
#define IIOV(x) (x)
#define MHZ_8 1