[BACK]Return to rtc.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-sh / cpu-sh4

File: [Development] / linux-2.6-xfs / include / asm-sh / cpu-sh4 / Attic / rtc.h (download)

Revision 1.4, Mon Aug 4 17:03:13 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.3: +5 -0 lines

Merge up to 2.6.26
Merge of 2.6.x-xfs-melb:linux:31804b by kenmcd.

#ifndef __ASM_SH_CPU_SH4_RTC_H
#define __ASM_SH_CPU_SH4_RTC_H

#ifdef CONFIG_CPU_SUBTYPE_SH7723
#define rtc_reg_size		sizeof(u16)
#else
#define rtc_reg_size		sizeof(u32)
#endif

#define RTC_BIT_INVERTED	0x40	/* bug on SH7750, SH7750S */
#define RTC_DEF_CAPABILITIES	RTC_CAP_4_DIGIT_YEAR

#endif /* __ASM_SH_CPU_SH4_RTC_H */