artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c5e504
)
whoops, EEPROM_SIZE is not used anymore
author
deraadt
<deraadt@openbsd.org>
Sat, 3 Feb 1996 19:35:58 +0000
(19:35 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 3 Feb 1996 19:35:58 +0000
(19:35 +0000)
sys/arch/sparc/sparc/clock.c
patch
|
blob
|
history
diff --git
a/sys/arch/sparc/sparc/clock.c
b/sys/arch/sparc/sparc/clock.c
index
a65d097
..
1f30672
100644
(file)
--- a/
sys/arch/sparc/sparc/clock.c
+++ b/
sys/arch/sparc/sparc/clock.c
@@
-258,8
+258,8
@@
eeprom_attach(parent, self, aux)
printf("\n");
- eeprom_va = (char *)mapiodev(ra->ra_reg, 0,
EEPROM_SIZE,
- ca->ca_bustype);
+ eeprom_va = (char *)mapiodev(ra->ra_reg, 0,
+
sizeof(struct eeprom),
ca->ca_bustype);
eeprom_nvram = 0;
#endif /* SUN4 */