Re: loosen dependancy on rtc cmos

From: Len Brown
Date: Wed Feb 14 2007 - 18:22:15 EST


On Wednesday 14 February 2007 14:55, David Brownell wrote:
> On Wednesday 14 February 2007 10:09 am, Dave Jones wrote:
> > This option is useful for all of the X86 subarchs afaik (and especially X86_GENERICARCH).
>
> You're right ... _potentially_ useful, which is the same standard used
> in most of the other cases. The "X86_PC" is debris from an early version
> of this patch, which limited the code to cases where it was known to work.
> The X86_PC hardware standard does standardize on this particular RTC, but
> non-PC platforms can use it too.
>
> I still need to resubmit the patch, for X86_PC, which defines the platform
> device in the (common) case where PNPACPI isn't defined.

CONFIG_PNPACPI=y is not the common case?

-Len

> Other X86 boards
> would need something similar, based on what chips are wired to the CPU.
>
>
> > Signed-off-by: Dave Jones <davej@xxxxxxxxxx>
>
> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
>
>
> > --- linux-2.6.20.noarch/drivers/rtc/Kconfig~ 2007-02-14 13:07:07.000000000 -0500
> > +++ linux-2.6.20.noarch/drivers/rtc/Kconfig 2007-02-14 13:07:13.000000000 -0500
> > @@ -101,7 +101,7 @@ comment "RTC drivers"
> >
> > config RTC_DRV_CMOS
> > tristate "PC-style 'CMOS' real time clock"
> > - depends on RTC_CLASS && (X86_PC || ALPHA || ARM26 || ARM \
> > + depends on RTC_CLASS && (X86 || ALPHA || ARM26 || ARM \
> > || M32R || ATARI || POWERPC)
> > help
> > Say "yes" here to get direct support for the real time clock
> >
> > --
> > http://www.codemonkey.org.uk
> >
> -
> 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/
>
-
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/