diff options
author | David S. Miller <davem@davemloft.net> | 2008-08-29 07:16:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-29 23:16:48 +0200 |
commit | da86783dda5ad8c64b945157108d1ace7aa79bbf (patch) | |
tree | 171219d3d198d823c5eb2cf0fd9ce1f4b5ae090f /arch/sparc/include/asm/mc146818rtc_64.h | |
parent | sparc: asm/mostek.h is now 32-bit only (diff) | |
download | linux-da86783dda5ad8c64b945157108d1ace7aa79bbf.tar.xz linux-da86783dda5ad8c64b945157108d1ace7aa79bbf.zip |
sparc64: Use generic CMOS driver.
Based largely upon a patch by Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/mc146818rtc_64.h')
-rw-r--r-- | arch/sparc/include/asm/mc146818rtc_64.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/sparc/include/asm/mc146818rtc_64.h b/arch/sparc/include/asm/mc146818rtc_64.h index e9c0fcc25c6f..7238d174e0e3 100644 --- a/arch/sparc/include/asm/mc146818rtc_64.h +++ b/arch/sparc/include/asm/mc146818rtc_64.h @@ -7,12 +7,8 @@ #include <asm/io.h> #ifndef RTC_PORT -#ifdef CONFIG_PCI -extern unsigned long ds1287_regs; -#else -#define ds1287_regs (0UL) -#endif -#define RTC_PORT(x) (ds1287_regs + (x)) +extern unsigned long cmos_regs; +#define RTC_PORT(x) (cmos_regs + (x)) #define RTC_ALWAYS_BCD 0 #endif @@ -29,6 +25,4 @@ outb_p((addr),RTC_PORT(0)); \ outb_p((val),RTC_PORT(1)); \ }) -#define RTC_IRQ 8 - #endif /* __ASM_SPARC64_MC146818RTC_H */ |