diff options
author | 2006-07-20 19:55:20 +0000 | |
---|---|---|
committer | 2006-07-20 19:55:20 +0000 | |
commit | fe55524439829402f57e0ad67b92bf6b500d87c0 (patch) | |
tree | 90a8622f765cfe61b52af927066a8ca9c0500868 | |
parent | Conform to the party's line when printing unconfigured devices. (diff) | |
download | wireguard-openbsd-fe55524439829402f57e0ad67b92bf6b500d87c0.tar.xz wireguard-openbsd-fe55524439829402f57e0ad67b92bf6b500d87c0.zip |
Not all Cheetah machines have the DSSI controller at a non-canonical address;
this will get corrected on a machine-by-machine basis.
-rw-r--r-- | sys/arch/vax/vax/ibus.c | 9 |
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); |