summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/vax/vax/ibus.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/ibus.c b/sys/arch/vax/vax/ibus.c
index 8793268ffaa..0b21cb8d121 100644
--- a/sys/arch/vax/vax/ibus.c
+++ b/sys/arch/vax/vax/ibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibus.c,v 1.7 2006/07/20 19:52:08 miod Exp $ */
+/* $OpenBSD: ibus.c,v 1.8 2006/07/20 19:55:20 miod Exp $ */
/* $NetBSD: ibus.c,v 1.7 2001/02/04 20:36:32 ragge Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden.
@@ -110,7 +110,12 @@ ibus_attach(parent, self, aux)
* The same procedure for SHAC.
*/
bp.type = "shac";
- if (vax_boardtype == VAX_BTYP_1303)
+ /*
+ * XXX Clearly the address on Cheetah machines varies between models,
+ * XXX but I could only check the address on a 4000 105A so far. -- miod
+ */
+ if (vax_boardtype == VAX_BTYP_1303 &&
+ ((vax_siedata >> 8) & 0xFF) != VAX_STYP_53)
va = vax_map_physmem(SHAC1303ADDR, 1);
else
va = vax_map_physmem(SHACADDR, 1);