From a7e84583c133ff56323f8e0114db93f96cccd0c0 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 20 Apr 1997 09:02:18 +0000 Subject: [PATCH] line#/column# changed at 2.7, not 2.9; grr --- sys/arch/sparc/sparc/autoconf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/sparc/autoconf.c b/sys/arch/sparc/sparc/autoconf.c index a0c772babc8..9b78d2f8837 100644 --- a/sys/arch/sparc/sparc/autoconf.c +++ b/sys/arch/sparc/sparc/autoconf.c @@ -1698,7 +1698,7 @@ romgetcursoraddr(rowp, colp) * and in some newer proms. They are local in version 2.9. The * correct cutoff point is unknown, as yet; we use 2.9 here. */ - if (promvec->pv_romvec_vers < 2 || promvec->pv_printrev < 0x00020009) + if (promvec->pv_romvec_vers < 2 || promvec->pv_printrev < 0x00020007) sprintf(buf, "' line# >body >user %lx ! ' column# >body >user %lx !", (u_long)rowp, (u_long)colp); @@ -1708,6 +1708,8 @@ romgetcursoraddr(rowp, colp) (u_long)rowp, (u_long)colp); *rowp = *colp = NULL; rominterpret(buf); + if (*rowp == *colp && *rowp != NULL) + panic("romgetcursor prom version"); return (*rowp == NULL || *colp == NULL); } #endif -- 2.20.1