summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-02-03 19:35:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-02-03 19:35:59 +0000
commit1003e0f24def667c74868ba2934acdee65c480a5 (patch)
tree051b93d966870aa1305ca6e8ec957f90c1c05697 /sys/arch/sparc
parent3c546f4f6be4ce4df523b87418ab0400f53a35b0 (diff)
whoops, EEPROM_SIZE is not used anymore
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/sparc/clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/clock.c b/sys/arch/sparc/sparc/clock.c
index a65d097ba43..1f30672b5b2 100644
--- 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 */