Re: must-fix list, v5

Tom Rini
2003-05-21T22:36:30Z

On Wed, May 21, 2003 at 03:23:34PM -0700, Andrew Morton wrote:

> drivers/char/rtc/
> ~~~~~~~~~~~~~~~~~
>
> o rmk: I think we need a generic RTC driver (which is backed by real RTCs).
> Integrator-based stuff has a 32-bit 1Hz counter RTC with alarm, as has the
> SA11xx, and probably PXA. There's another implementation for the RiscPC
> and ARM26 stuff. I'd rather not see 4 implementations of the RTC userspace
> API, but one common implementation so that stuff gets done in a consistent
> way.
>
> We postponed this at the beginning of 2.4 until 2.5 happened. We're now
> at 2.5, and I'm about to add at least one more (the Integrator
> implementation.) This isn't sane imo.

I talked with RMK on IRC a bit about this. After reading
drivers/char/rtc.c, I think this can be vastly simplied to:
Add support for alarms to the existing generic rtc driver
(drivers/char/genrtc.c).

Does this sound like a plan?

--
Tom Rini