[PATCH] Better timer and RTC handling for 8641HPCN.

Kumar Gala galak at kernel.crashing.org
Thu Mar 8 13:47:20 EST 2007


On Mar 7, 2007, at 7:56 PM, Zhang Wei-r63237 wrote:

> Hi, Kumar and Scott,
>
> Thanks for your review. :-)
>
> The MPC8641HPCN's RTC is a module of ULI1575, which is a legacy RTC
> device with operate by I/O ports 0x70 and 0x71. So I use functions
> defined in asm-generic/rtc.h to set and get rtc time.

Than you need to include <linux/mc146818rtc.h> in the file to get the  
CMOS_* defn.

- k





More information about the Linuxppc-dev mailing list