artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28fc63e
)
use promvec->pv_enaddr on v2 proms also
author
deraadt
<deraadt@openbsd.org>
Tue, 14 Nov 1995 11:00:00 +0000
(11:00 +0000)
committer
deraadt
<deraadt@openbsd.org>
Tue, 14 Nov 1995 11:00:00 +0000
(11:00 +0000)
sys/arch/sparc/stand/promdev.c
patch
|
blob
|
history
diff --git
a/sys/arch/sparc/stand/promdev.c
b/sys/arch/sparc/stand/promdev.c
index
1dd5684
..
1404ce4
100644
(file)
--- 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];