summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-14 11:00:01 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-14 11:00:01 +0000
commitc47a4413fa5063f711563ad881882f4a67b9ab55 (patch)
treebde68c0c4ba7ee2c56aff833945b7d8aff76985a /sys/arch
parent2b3ad06003f9269fcd88d1fb68a1476bdd5d656e (diff)
use promvec->pv_enaddr on v2 proms also
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/stand/promdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/sparc/stand/promdev.c b/sys/arch/sparc/stand/promdev.c
index 1dd56840038..1404ce4f20d 100644
--- a/sys/arch/sparc/stand/promdev.c
+++ b/sys/arch/sparc/stand/promdev.c
@@ -503,7 +503,7 @@ prom_getether(fd, ea)
} while (--len > 0);
}
bcopy(sun4_idprom.id_ether, ea, 6);
- } else if (promvec->pv_romvec_vers < 2) {
+ } else if (promvec->pv_romvec_vers <= 2) {
(void)(*promvec->pv_enaddr)(fd, (char *)ea);
} else {
char buf[64];