lkml.org 
[lkml]   [2003]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] [Kconfig] disable GEN_RTC on ia-64
On Thu, Aug 07, 2003 at 11:18:25AM +1000, Martin Pool wrote:
> On Wed, 06 Aug 2003 09:37:53 -0700, Tom Rini wrote:
>
> > I think that this is the wrong approach. genrtc allows the platform to
> > specify how the rtc is to be accessed. Therefore, efirtc.c could quite
> > probably be removed in favor of genrtc.c, if the proper read/write
> > functions are provided, and if genrtc gets alarm code, which is something
> > others (rmk at least) have asked for.
>
> Yes, since EFI is the only method for this platform it should probably
> be the platform's only implementation of genrtc.
>
> At the moment it is a bit confusing because "generic RTC" sounds like
> something that ought to work on any platform, when of course it does
> not. So if the changes to genrtc would be large, perhaps it would be
> better to just fix Kconfig for now...

Well, it's a "generic RTC" driver because it lets the arch decide the
arch-specific things, like how to access an RTC. It really should be
able to work on any arch that has an RTC.

> Do you think a patch to refactor efirtc into genrtc would be accepted?

I don't know the EFI code as well as you do, but after skimming it I'm
lost as to what would need to be added to the genrtc driver, other than
alarm support (which is greatly wanted!).

--
Tom Rini
http://gate.crashing.org/~trini/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.069 / U:1.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site