Re: [PATCH] Kconfig fix (GEN_RTC dependencies)

2005-09-07 Thread Tom Rini
On Wed, Sep 07, 2005 at 07:06:25PM +0100, Maciej W. Rozycki wrote: > On Tue, 6 Sep 2005, Tom Rini wrote: > > > > Yep, it's an excuse for platform maintainers not to write proper drivers. > > > > I talked with Al about this off list a bit, and pointed out it's > > different than it appears. GEN_

Re: [PATCH] Kconfig fix (GEN_RTC dependencies)

2005-09-07 Thread Maciej W. Rozycki
On Tue, 6 Sep 2005, Tom Rini wrote: > > Yep, it's an excuse for platform maintainers not to write proper drivers. > > I talked with Al about this off list a bit, and pointed out it's > different than it appears. GEN_RTC really is a mostly-generic RTC > driver. There's some fakey stuff going on

Re: [PATCH] Kconfig fix (GEN_RTC dependencies)

2005-09-06 Thread Tom Rini
On Tue, Sep 06, 2005 at 03:40:47PM +0100, Maciej W. Rozycki wrote: > On Tue, 6 Sep 2005 [EMAIL PROTECTED] wrote: > > > >From my reading of that code, GEN_RTC should've been called FAKE_RTC... > > Yep, it's an excuse for platform maintainers not to write proper drivers. I talked with Al about th

Re: [PATCH] Kconfig fix (GEN_RTC dependencies)

2005-09-06 Thread Maciej W. Rozycki
On Tue, 6 Sep 2005 [EMAIL PROTECTED] wrote: > >From my reading of that code, GEN_RTC should've been called FAKE_RTC... Yep, it's an excuse for platform maintainers not to write proper drivers. > AFAICS, more or less clean solution would be to split the damn thing > into frontend (parsing of ioc

Re: [PATCH] Kconfig fix (GEN_RTC dependencies)

2005-09-05 Thread viro
On Mon, Sep 05, 2005 at 06:51:41PM -0700, David S. Miller wrote: > Admittedly, the whole RTC situation is quite a mess I have to > agree. > > To make the problem worse, we have two sets of RTC ioctls > which userland makes use of on Sparc. The older ones which > the SBUS RTC driver exported and s

Re: [PATCH] Kconfig fix (GEN_RTC dependencies)

2005-09-05 Thread David S. Miller
From: [EMAIL PROTECTED] Date: Tue, 6 Sep 2005 01:56:45 +0100 > Yet another architecture not coverd by GEN_RTC - sparc64 never > picked it until now and it doesn't have asm/rtc.h to go with it, so > it wouldn't compile anyway (or have these ioctls in the user-visible > headers, for that matte

[PATCH] Kconfig fix (GEN_RTC dependencies)

2005-09-05 Thread viro
Yet another architecture not coverd by GEN_RTC - sparc64 never picked it until now and it doesn't have asm/rtc.h to go with it, so it wouldn't compile anyway (or have these ioctls in the user-visible headers, for that matter). FWIW, I'm very tempted to introduce ARCH_HAS_GEN_RTC an