Go to the documentation of this file. 1 #ifndef _ASM_POWERPC_MC146818RTC_H
2 #define _ASM_POWERPC_MC146818RTC_H
18 #define RTC_PORT(x) (0x70 + (x))
19 #define RTC_ALWAYS_BCD 1
26 #define CMOS_READ(addr) ({ \
27 outb_p((addr),RTC_PORT(0)); \
30 #define CMOS_WRITE(val, addr) ({ \
31 outb_p((addr),RTC_PORT(0)); \
32 outb_p((val),RTC_PORT(1)); \