Thread (8 messages) flat view 8 messages, 7 authors, 2005-09-04

Re: use of rtc.c on chrp/prep?

From: Gabriel Paubert <hidden>
Date: 2005-09-02 07:21:48

On Thu, Sep 01, 2005 at 01:47:36PM -0500, Kumar Gala wrote:
On Sep 1, 2005, at 1:38 PM, Sven Luther wrote:
quoted
On Thu, Sep 01, 2005 at 12:57:55PM -0500, Kumar Gala wrote:
quoted
Does anyone enable CONFIG_RTC on chrp/prep?  Tom tells me these are
the only platforms that it is even valid to do so on.
The debian powerpc kernels enables :

 $ grep RTC /boot/config-2.6.12-1-powerpc
 CONFIG_GEN_RTC=y
 CONFIG_GEN_RTC_X=y

and not the CONFIG_RTC variant, and it works well on pegasos, and prep
boxes,
and probably on ibm chrps too, altough i have not tested personally.
Thanks, as far as I can tell no one is using CONFIG_RTC, which means  
I can "fix" asm-ppc/mc146818rtc.h to no longer #define RTC_IRQ 8
For the record, on MVME boards with PowerPlus bridges, the RTC driver 
cannot work because the interrupt output is not connected. IRQ 8 is 
instead connected to a front panel switch labelled abort that nobody 
uses either (at least under Linux).

Anyway, there are better ways to obtain regularly spaced interrupts
on PPC. They are just not implemented (yet).

	Gabriel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help