Re: [PATCH 2/2] mrst/vrtc: avoid using CMOS RTC ops

From: Feng Tang
Date: Wed Jan 26 2011 - 20:50:52 EST



> From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
> Date: 2011/1/25
> Subject: [PATCH 2/2] mrst/vrtc: avoid using CMOS RTC ops
> To: x86@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
>
>
> From: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
>
> If we don't assign Moorestown specific wallclock init and ops function
> the rtc/persisent clock code will use CMOS RTC for access, this will
> crash Moorestown as the ioports are not present.
> Also in the vrtc driver, we should avoid using CMOS access to check
> UIP status.
>
> Signed-off-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
> ---

Hi,

Here is the updated version, following the change of moving the
wallclock_init() to x86_init.timers.

Thanks,
Feng
-----------------