diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-05-15 23:02:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-05-15 23:02:26 +0000 |
commit | f465ca8986581eacce2f0ab962c6590956537ed0 (patch) | |
tree | ee65d955360a912331a303220f8ac2ce8d5a8f4b /sys/dev/ic/mk48txxreg.h | |
parent | c38525da63f69afbdf3eb2d6740e009d7c8a68bc (diff) |
TOD clock support for IOC3 flavours with DS174x chips (which are rebadged
MK48Txx). Entangled with preliminary changes which will hopefully eventually
lead to power(4) attaching on IP30 (but not finished yet).
Diffstat (limited to 'sys/dev/ic/mk48txxreg.h')
-rw-r--r-- | sys/dev/ic/mk48txxreg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/mk48txxreg.h b/sys/dev/ic/mk48txxreg.h index bbbeef0b02d..93059c00977 100644 --- a/sys/dev/ic/mk48txxreg.h +++ b/sys/dev/ic/mk48txxreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mk48txxreg.h,v 1.4 2008/06/26 05:42:15 ray Exp $ */ +/* $OpenBSD: mk48txxreg.h,v 1.5 2009/05/15 23:02:25 miod Exp $ */ /* $NetBSD: mk48txxreg.h,v 1.4 2000/11/11 11:59:42 pk Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -78,6 +78,9 @@ #define MK48T59_CLKSZ 8192 #define MK48T59_CLKOFF 0x1ff0 +#define MK48T35_CLKSZ 0x8000 +#define MK48T35_CLKOFF 0x7ff0 + /* Chip attach function */ todr_chip_handle_t mk48txx_attach(bus_space_tag_t, bus_space_handle_t, const char *, int); |