From ef5345d6dc31b6c23e4a025e6935ef9a11bf0771 Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 3 Feb 1996 19:35:58 +0000 Subject: [PATCH] whoops, EEPROM_SIZE is not used anymore --- sys/arch/sparc/sparc/clock.c | 4 ++-- 1 file 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 */ -- 2.20.1