diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-04-01 12:55:28 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-04-01 12:55:28 +0000 |
commit | a214a5e8ec7fe4390d1214cbc2e7ca570de9fd03 (patch) | |
tree | 2ef1d6c88d8333f2aa4649ab8d880da9a3540cd7 /sys | |
parent | 33fb5869176a003b9af61588836b26125edb6a4e (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.c | 3 | ||||
-rw-r--r-- | sys/arch/hp300/stand/include/samachdep.h | 4 |
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 |