Re: [patch] [Kconfig] disable GEN_RTC on ia-64

From: Martin Pool (mbp@sourcefrog.net)
Date: Wed Aug 06 2003 - 20:18:25 EST


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...

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

-- 
Martin

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:36 EST