whoops, EEPROM_SIZE is not used anymore
authorderaadt <deraadt@openbsd.org>
Sat, 3 Feb 1996 19:35:58 +0000 (19:35 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 3 Feb 1996 19:35:58 +0000 (19:35 +0000)
sys/arch/sparc/sparc/clock.c

index a65d097..1f30672 100644 (file)
@@ -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 */