summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-06-11 06:19:09 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-06-11 06:19:09 +0000
commit84dcbdead42bb7f97195ad4bbd2dac3ec49348ed (patch)
tree64a0a3ab5705a3c4f94238d2eb55ca37ad8a3e24 /sys/arch/mac68k
parentf671c2c4d76033a53507c7d032a46f224848ad77 (diff)
Add Q900 compatible mode serial address.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index f28dc5559dc..d8360f0934f 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.61 1999/05/24 23:09:03 jason Exp $ */
+/* $OpenBSD: machdep.c,v 1.62 1999/06/11 06:19:08 downsj Exp $ */
/* $NetBSD: machdep.c,v 1.134 1997/02/14 06:15:30 scottr Exp $ */
/*
@@ -2414,6 +2414,12 @@ mac68k_set_io_offsets(base)
switch (current_mac_model->machineid) {
case MACH_MACQ900:
case MACH_MACQ950:
+ /*
+ * Note that sccA base address is based on having
+ * the serial port in `compatible' mode (set in
+ * the Serial Switch control panel before booting).
+ */
+ sccA = (volatile u_char *) base + 0xc020;
mac68k_machine.scsi96_2 = 1;
case MACH_MACQ700:
SCSIBase = base + 0xf000;