Re: [rtc-linux] Re: [PATCH/RFC 0/5] Generic RTC class driver

From: Alessandro Zummo
Date: Tue Mar 03 2009 - 08:54:14 EST


On Tue, 3 Mar 2009 11:41:23 +0100 (CET)
Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> wrote:

> rtc-generic is already in the kernel, it's just called rtc-parisc ;-)

Really? I never saw it :)

> > But I'd strongly suggest to plan and execute a conversion process.
>
> So would you accept a patch series that:
> 1. Adds the missing module aliases to rtc-parisc (which is a bugfix),
> 2. Moves the platform device creation out of rtc-ppc and into arch-specific
> code (which is also a bugfix),
> 3. Consolidates rtc-parisc and rtc-ppc into rtc-generic (which is a cleanup),
> 4. Makes rtc-generic dependent on PARISC, PPC, and M68K (the existing
> [sg]et_rtc_time() users):
> a. without introducing ARCH_HAS_GENERIC_RTC,
> b. with a big fat warning in the Kconfig comment not relaxing the
> dependencies, as it's supposed to go away.
> 4. Converts the PS3 RTC support into a separate driver, called rtc-ps3
> (as a bonus ;-)
>
> ? If yes, I'll cook it up.
>
> Other RTC platform support can be converted into separate drivers later.

Seems reasonable. But please add a list of users of rtc-generic and information
about their respective rtc hardware along with some general planning about
which future driver would cover which users.

And let's hope this is a beginning :)

--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/