summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2001-10-01 13:05:08 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2001-10-01 13:05:08 +0000
commit23f7cca1c742ab225ad22d34a7b51344a3656f2a (patch)
treebedf6c7c81955bd89692ca471f1966a7720eff37 /sys/arch
parent4cdc3cc94972a17c9a454e66d3175f0e3377dd38 (diff)
There are anecdotal reports of firmware being writable on some Cougar
machines, so don't poke blindly into the middle of its address space if we can tell dz is not going to be there by other means.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/vax/vsa/dz_ibus.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/vax/vsa/dz_ibus.c b/sys/arch/vax/vsa/dz_ibus.c
index 209c0066c34..a667814ce2d 100644
--- a/sys/arch/vax/vsa/dz_ibus.c
+++ b/sys/arch/vax/vsa/dz_ibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dz_ibus.c,v 1.8 2001/08/26 18:25:06 hugh Exp $ */
+/* $OpenBSD: dz_ibus.c,v 1.9 2001/10/01 13:05:07 hugh Exp $ */
/* $NetBSD: dz_ibus.c,v 1.15 1999/08/27 17:50:42 ragge Exp $ */
/*
* Copyright (c) 1998 Ludd, University of Lule}, Sweden.
@@ -125,10 +125,11 @@ dz_vsbus_match(parent, cf, aux)
struct ss_dz *dzP;
short i;
-#if VAX53
- if (vax_boardtype == VAX_BTYP_1303)
+#if VAX53 || VAX49
+ if (vax_boardtype == VAX_BTYP_49 ||
+ vax_boardtype == VAX_BTYP_1303)
if (cf->cf_loc[0] != 0x25000000)
- return 0; /* Ugly */
+ return 0; /* don't probe unnecessarily */
#endif
dzP = (struct ss_dz *)va->va_addr;