From: deraadt Date: Sat, 3 Feb 1996 19:35:58 +0000 (+0000) Subject: whoops, EEPROM_SIZE is not used anymore X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ef5345d6dc31b6c23e4a025e6935ef9a11bf0771;p=openbsd whoops, EEPROM_SIZE is not used anymore --- 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 */