diff options
Diffstat (limited to 'sys/dev/mk48txx/mk48txxreg.h')
-rw-r--r-- | sys/dev/mk48txx/mk48txxreg.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/dev/mk48txx/mk48txxreg.h b/sys/dev/mk48txx/mk48txxreg.h index e2b4886..731ea87 100644 --- a/sys/dev/mk48txx/mk48txxreg.h +++ b/sys/dev/mk48txx/mk48txxreg.h @@ -33,7 +33,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $NetBSD: mk48txxreg.h,v 1.4 2000/11/11 11:59:42 pk Exp $ + * from: NetBSD: mk48txxreg.h,v 1.7 2003/11/01 22:41:42 tsutsui Exp * * $FreeBSD$ */ @@ -44,7 +44,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 @@ -154,16 +154,8 @@ #define MK48T08_CLKSZ 8192 #define MK48T08_CLKOFF 0x1ff0 +#define MK48T18_CLKSZ 8192 +#define MK48T18_CLKOFF 0x1ff0 + #define MK48T59_CLKSZ 8192 #define MK48T59_CLKOFF 0x1ff0 - -/* Chip attach function */ -int mk48txx_attach(device_t, bus_space_tag_t, bus_space_handle_t, const char *, - int); - -/* Retrieve size of the on-chip NVRAM area */ -int mk48txx_get_nvram_size(device_t, bus_size_t *); - -/* Methods for the clock interface. */ -int mk48txx_gettime(device_t, struct timespec *); -int mk48txx_settime(device_t, struct timespec *); |