IRQ for TIMER and RTC

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Thu Feb 10 2000 - 18:27:37 EST


Hi!

When building RTC as a module, it is unuseable because the module cannot
get IRQ8. This is caused by:

[./include/asm-alpha/hw_irq.h]
     30 #define RTC_IRQ 8
     31 #ifdef CONFIG_RTC
     32 #define TIMER_IRQ 0 /* timer is the pit */
     33 #else
     34 #define TIMER_IRQ RTC_IRQ /* timer is the rtc */
     35 #endif

I notices this because "hwclock --hctosys" produces strangest times and
dates if there is no RTC driver present on my old AXPpci33 board. Deleting
the above section (well, I let "#define RTC_IRQ 8" and "#define TIMER_IRQ 0"
remain, of course...) ans loading the rtc.o module before executing hwclock
works perfectly for me.

Why was this strange IRQ scrambling added? Do I miss something?

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB




This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:34 EST