diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-13 21:02:05 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-13 21:02:05 +0000 |
commit | 666d5a1b5c0d51fb659993c10b5e1125e27426fd (patch) | |
tree | 5adb147b558c236c4901f6ef309bed1e203be720 /sys/arch/mac68k/include/viareg.h | |
parent | ab7fc5c8d9979d98a2f5c76aaa3a923f3c97664b (diff) |
Sync OSS code with NetBSD; supports poweroff now.
Diffstat (limited to 'sys/arch/mac68k/include/viareg.h')
-rw-r--r-- | sys/arch/mac68k/include/viareg.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/mac68k/include/viareg.h b/sys/arch/mac68k/include/viareg.h index 899e11619e8..960b1597f1b 100644 --- a/sys/arch/mac68k/include/viareg.h +++ b/sys/arch/mac68k/include/viareg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: viareg.h,v 1.17 2006/01/01 13:16:01 miod Exp $ */ +/* $OpenBSD: viareg.h,v 1.18 2006/01/13 21:02:01 miod Exp $ */ /* $NetBSD: viareg.h,v 1.6 1997/02/28 07:41:41 scottr Exp $ */ /*- @@ -143,8 +143,9 @@ extern volatile unsigned char *Via1Base; extern volatile unsigned char *Via2Base; /* init in VIA_Initialize */ #define VIA1_addr Via1Base /* at PA 0x50f00000 */ -#define VIA2OFF 1 /* VIA2 addr = VIA1_addr * 0x2000 */ -#define RBVOFF 0x13 /* RBV addr = VIA1_addr * 0x13000 */ + +#define VIA2OFF 1 /* VIA2 addr = VIA1_addr + 0x2000 */ +#define RBVOFF 0x13 /* RBV addr = VIA1_addr + 0x26000 */ #define OSSOFF 0xd /* OSS addr = VIA1_addr + 0x1A000 */ #define VIA1 0 |