Not all v2 proms understand the `mac-address' word (from Theo).

This commit is contained in:
pk 1995-11-14 15:04:01 +00:00
parent dfc6658291
commit 0c031adc76

@ -1,4 +1,4 @@
/* $NetBSD: promdev.c,v 1.15 1995/10/10 20:11:33 pk Exp $ */
/* $NetBSD: promdev.c,v 1.16 1995/11/14 15:04:01 pk Exp $ */
/*
* Copyright (c) 1993 Paul Kranenburg
@ -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];