diff options
-rw-r--r-- | sys/dev/ic/mk48txx.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/mk48txxreg.h | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/ic/mk48txx.c b/sys/dev/ic/mk48txx.c index af80ec25eeb..04652b52f58 100644 --- a/sys/dev/ic/mk48txx.c +++ b/sys/dev/ic/mk48txx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mk48txx.c,v 1.2 2001/08/18 22:08:18 jason Exp $ */ +/* $OpenBSD: mk48txx.c,v 1.3 2002/03/19 01:48:47 jason Exp $ */ /* $NetBSD: mk48txx.c,v 1.7 2001/04/08 17:05:10 tsutsui Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -75,6 +75,7 @@ struct { } mk48txx_models[] = { { "mk48t02", MK48T02_CLKSZ, MK48T02_CLKOFF, 0 }, { "mk48t08", MK48T08_CLKSZ, MK48T08_CLKOFF, 0 }, + { "mk48t18", MK48T18_CLKSZ, MK48T18_CLKOFF, 0 }, { "mk48t59", MK48T59_CLKSZ, MK48T59_CLKOFF, MK48TXX_EXT_REGISTERS }, }; diff --git a/sys/dev/ic/mk48txxreg.h b/sys/dev/ic/mk48txxreg.h index 684d9603d29..6fc7e30c6fa 100644 --- a/sys/dev/ic/mk48txxreg.h +++ b/sys/dev/ic/mk48txxreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mk48txxreg.h,v 1.2 2001/08/18 22:08:18 jason Exp $ */ +/* $OpenBSD: mk48txxreg.h,v 1.3 2002/03/19 01:48:47 jason Exp $ */ /* $NetBSD: mk48txxreg.h,v 1.4 2000/11/11 11:59:42 pk Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ * The MK48T02 has 2KB of non-volatile memory. The time-of-day clock * registers start at offset 0x7f8. * - * The MK48T08 has 8KB of non-volatile memory + * The MK48T08 and MK48T18 have 8KB of non-volatile memory * * The MK48T59 also has 8KB of non-volatile memory but in addition it * has a battery low detection bit and a power supply wakeup alarm for @@ -79,6 +79,9 @@ #define MK48T08_CLKSZ 8192 #define MK48T08_CLKOFF 0x1ff0 +#define MK48T18_CLKSZ 8192 +#define MK48T18_CLKOFF 0x1ff0 + #define MK48T59_CLKSZ 8192 #define MK48T59_CLKOFF 0x1ff0 |