summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/nvramreg.h
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>1998-12-15 05:52:32 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>1998-12-15 05:52:32 +0000
commitbe8c8622ef57b334e07dd5c0f36cdacbd0ba355a (patch)
treebd550e88fe9e76416d05e97d3152a6fe0bf0a3b8 /sys/arch/mvme88k/dev/nvramreg.h
parent2fb8d39328cdf8894f11b9eb00c06436c0677e5d (diff)
Commit for the first real OpenBSD mvme88k port.
Diffstat (limited to 'sys/arch/mvme88k/dev/nvramreg.h')
-rw-r--r--sys/arch/mvme88k/dev/nvramreg.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/dev/nvramreg.h b/sys/arch/mvme88k/dev/nvramreg.h
index 4b92c0a5fd5..67de360c02e 100644
--- a/sys/arch/mvme88k/dev/nvramreg.h
+++ b/sys/arch/mvme88k/dev/nvramreg.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: nvramreg.h,v 1.2 1998/12/15 05:52:30 smurph Exp $ */
+
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -79,10 +81,13 @@ struct clockreg {
struct clockreg *clockreg;
/*
- * Motorola chose the year `00' as their base count, so that
- * cl_year == 0 means 1900.
+ * Motorola chose the year `1900' as their base count.
+ * XXX what happens when it wraps?
*/
#define YEAR0 00
#define NVRAMSIZE 0x8000
#define NVRAM_TOD_OFF 0x1ff8 /* offset of tod in NVRAM space */
+#define MK48T02_SIZE 2*1024
+#define MK48T08_SIZE 8*1024
+