On Saturday 02 February 2008, Sam Ravnborg wrote:
> > --- g26.orig/drivers/char/Kconfig
> > +++ g26/drivers/char/Kconfig
> > @@ -715,9 +715,12 @@ config NVRAM
> >       To compile this driver as a module, choose M here: the
> >       module will be called nvram.
> >  
> > +comment "You are using the RTC framework, not the legacy CMOS RTC driver"
> > +   depends on RTC_DRV_CMOS
> > +
> >  config RTC
> >     tristate "Enhanced Real Time Clock Support"
> > -   depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV && !ARM 
> > && !SUPERH && !S390
> > +   depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV && !ARM 
> > && !SUPERH && !S390 && !RTC_DRV_CMOS
> 
> This looks like a prime candidate for a HAVE_RTC config variable

In drivers/rtc/Kconfig there's *currently* a list of about
three dozen (!) different RTC drivers ... some of which support
quite a few different variants.

I'd be glad to see someone clean up the config mess with respect
to systems using MC146818 compatible chips, but that shouldn't
begin by assuming the numerous non-MC146818 chips are somehow
not real RTCs.  ;)

- Dave




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

Reply via email to