diff options
author | ccappuc <ccappuc@cvs.openbsd.org> | 1996-08-16 16:28:26 +0000 |
---|---|---|
committer | ccappuc <ccappuc@cvs.openbsd.org> | 1996-08-16 16:28:26 +0000 |
commit | 445816164da4c953591f89549fdd9bc8825aa8c8 (patch) | |
tree | 3f9f37072bff0e2c0f41fb481a33ff07cb69aa60 | |
parent | e4530a19ec26da2b4b19a322b8466b4d00c3e1c3 (diff) |
fix for sun4 netbsd merges
-rw-r--r-- | sys/arch/sparc/include/eeprom.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/eeprom.h b/sys/arch/sparc/include/eeprom.h index e8237a56a08..298e0baef11 100644 --- a/sys/arch/sparc/include/eeprom.h +++ b/sys/arch/sparc/include/eeprom.h @@ -1,4 +1,4 @@ -/* $OpenBSD: eeprom.h,v 1.5 1996/08/13 08:05:27 downsj Exp $ */ +/* $OpenBSD: eeprom.h,v 1.6 1996/08/16 16:28:25 ccappuc Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -349,6 +349,15 @@ struct eeprom { #define EEPROM_BASE 0xffd04000 +/* + * The size of the eeprom on machines with the old clock is 2k. However, + * on machines with the new clock (and the `eeprom' in the nvram area) + * there are only 2040 bytes available. (???). Since we really only + * care about the `diagnostic' area, we'll use it's size when dealing + * with the eeprom in general. + */ +#define EEPROM_SIZE 0x500 + #ifdef _KERNEL extern char *eeprom_va; int eeprom_uio __P((struct uio *)); |