2 * Copyright (C) 1998, 1999, 2003 Ralf Baechle
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
8 #ifndef __LINUX_DS1286_H
9 #define __LINUX_DS1286_H
11 #include <asm/ds1286.h>
13 /**********************************************************************
15 **********************************************************************/
16 #define RTC_HUNDREDTH_SECOND 0
19 #define RTC_MINUTES_ALARM 3
21 #define RTC_HOURS_ALARM 5
23 #define RTC_DAY_ALARM 7
32 /* RTC_*_alarm is always true if 2 MSBs are set */
33 # define RTC_ALARM_DONT_CARE 0xC0
37 * Bits in the month register
43 * Bits in the Command register
49 #define RTC_PU_LVL 0x10
50 #define RTC_IBH_LO 0x20
54 #endif /* __LINUX_DS1286_H */