diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-05-11 08:44:27 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-05-11 08:44:31 -0400 |
| commit | 41fb454ebe6024f5c1e3b3cbc0abc0da762e7b51 (patch) | |
| tree | 51c50bcb67a5039448ddfa1869d7948cab1217e9 /include/asm-m32r/mc146818rtc.h | |
| parent | 19c1a6f5764d787113fa323ffb18be7991208f82 (diff) | |
| parent | 091bf7624d1c90cec9e578a18529f615213ff847 (diff) | |
Merge commit 'v2.6.30-rc5' into core/iommu
Merge reason: core/iommu was on an .30-rc1 base,
update it to .30-rc5 to refresh.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-m32r/mc146818rtc.h')
| -rw-r--r-- | include/asm-m32r/mc146818rtc.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/asm-m32r/mc146818rtc.h b/include/asm-m32r/mc146818rtc.h deleted file mode 100644 index aa1b7bf84f51..000000000000 --- a/include/asm-m32r/mc146818rtc.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Machine dependent access functions for RTC registers. | ||
| 3 | */ | ||
| 4 | #ifndef _ASM_MC146818RTC_H | ||
| 5 | #define _ASM_MC146818RTC_H | ||
| 6 | |||
| 7 | #include <asm/io.h> | ||
| 8 | |||
| 9 | #ifndef RTC_PORT | ||
| 10 | #define RTC_PORT(x) ((x)) | ||
| 11 | #define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */ | ||
| 12 | #endif | ||
| 13 | |||
| 14 | /* | ||
| 15 | * The yet supported machines all access the RTC index register via | ||
| 16 | * an ISA port access but the way to access the date register differs ... | ||
| 17 | */ | ||
| 18 | #define CMOS_READ(addr) ({ \ | ||
| 19 | outb_p((addr),RTC_PORT(0)); \ | ||
| 20 | inb_p(RTC_PORT(1)); \ | ||
| 21 | }) | ||
| 22 | #define CMOS_WRITE(val, addr) ({ \ | ||
| 23 | outb_p((addr),RTC_PORT(0)); \ | ||
| 24 | outb_p((val),RTC_PORT(1)); \ | ||
| 25 | }) | ||
| 26 | |||
| 27 | #define RTC_IRQ 8 | ||
| 28 | |||
| 29 | #endif /* _ASM_MC146818RTC_H */ | ||
