All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] how many real time clocks do we need?
@ 2007-02-22 21:13 Robert P. J. Day
  2007-02-22 22:40 ` Matthew Wilcox
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert P. J. Day @ 2007-02-22 21:13 UTC (permalink / raw)
  To: kernel-janitors


  just poking around the drivers/char directory, and noticed the
existence of both the RTC real-time clock, and the GEN_RTC real-time
clock in the Kconfig file.

  is there still a compelling need to be supporting *both* of those?
just curious.

rday

-- 
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
====================================
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [KJ] how many real time clocks do we need?
  2007-02-22 21:13 [KJ] how many real time clocks do we need? Robert P. J. Day
@ 2007-02-22 22:40 ` Matthew Wilcox
  2007-02-23  7:05 ` Richard Knutsson
  2007-02-28 22:11 ` Matthew Wilcox
  2 siblings, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 2007-02-22 22:40 UTC (permalink / raw)
  To: kernel-janitors

On Thu, Feb 22, 2007 at 04:13:31PM -0500, Robert P. J. Day wrote:
>   just poking around the drivers/char directory, and noticed the
> existence of both the RTC real-time clock, and the GEN_RTC real-time
> clock in the Kconfig file.
> 
>   is there still a compelling need to be supporting *both* of those?
> just curious.

One works on some architectures, one works on other architectures.  Why
not take a hint from the Kconfig dependencies?

config RTC
        tristate "Enhanced Real Time Clock Support"
	depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !ARM && !SUPERH

config GEN_RTC
        tristate "Generic /dev/rtc emulation"
	depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [KJ] how many real time clocks do we need?
  2007-02-22 21:13 [KJ] how many real time clocks do we need? Robert P. J. Day
  2007-02-22 22:40 ` Matthew Wilcox
@ 2007-02-23  7:05 ` Richard Knutsson
  2007-02-28 22:11 ` Matthew Wilcox
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Knutsson @ 2007-02-23  7:05 UTC (permalink / raw)
  To: kernel-janitors

Matthew Wilcox wrote:
> On Thu, Feb 22, 2007 at 04:13:31PM -0500, Robert P. J. Day wrote:
>   
>>   just poking around the drivers/char directory, and noticed the
>> existence of both the RTC real-time clock, and the GEN_RTC real-time
>> clock in the Kconfig file.
>>
>>   is there still a compelling need to be supporting *both* of those?
>> just curious.
>>     
>
> One works on some architectures, one works on other architectures.  Why
> not take a hint from the Kconfig dependencies?
>
> config RTC
>         tristate "Enhanced Real Time Clock Support"
> 	depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && !FRV && !ARM && !SUPERH
>
> config GEN_RTC
>         tristate "Generic /dev/rtc emulation"
> 	depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV
>
>   
Just curious, does IA64, ARM, SPARC and FRV (is that an arch?) have any 
real-time clock?

Richard Knutsson

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [KJ] how many real time clocks do we need?
  2007-02-22 21:13 [KJ] how many real time clocks do we need? Robert P. J. Day
  2007-02-22 22:40 ` Matthew Wilcox
  2007-02-23  7:05 ` Richard Knutsson
@ 2007-02-28 22:11 ` Matthew Wilcox
  2 siblings, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 2007-02-28 22:11 UTC (permalink / raw)
  To: kernel-janitors

On Fri, Feb 23, 2007 at 08:05:37AM +0100, Richard Knutsson wrote:
> >config RTC
> >        tristate "Enhanced Real Time Clock Support"
> >	depends on !PPC && !PARISC && !IA64 && !M68K && (!SPARC || PCI) && 
> >	!FRV && !ARM && !SUPERH
> >
> >config GEN_RTC
> >        tristate "Generic /dev/rtc emulation"
> >	depends on RTC!=y && !IA64 && !ARM && !M32R && !SPARC && !FRV
>
> Just curious, does IA64, ARM, SPARC and FRV (is that an arch?) have any 
> real-time clock?

I think you could research this yourself, but :

config EFI_RTC
        bool "EFI Real Time Clock Services"
	depends on IA64

...

config ARM
        bool
	default y
	select RTC_LIB

(see also drivers/rtc/Kconfig)

./drivers/sbus/char/Kconfig:config SUN_MOSTEK_RTC

I dunno what arch/frv does for an RTC.
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-28 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-22 21:13 [KJ] how many real time clocks do we need? Robert P. J. Day
2007-02-22 22:40 ` Matthew Wilcox
2007-02-23  7:05 ` Richard Knutsson
2007-02-28 22:11 ` Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.