All of lore.kernel.org
 help / color / mirror / Atom feed
* /dev/rtc on alpha
@ 2003-11-08 21:33 Bob McElrath
  2003-11-09 11:24 ` Ivan Kokshaysky
  0 siblings, 1 reply; 4+ messages in thread
From: Bob McElrath @ 2003-11-08 21:33 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 955 bytes --]

In a nutshell, the rtc driver on alpha does not work.  This is easily
verified with the small program in Documentation/rtc.txt -- all ioctl's
fail.  (I tried on an LX164 and a CS20)  That's the /dev/rtc driver
drivers/char/rtc.c.  I'd like to make it work but don't understand
what's going on with the rtc interrupt in arch/alpha/kernel/*.  So, can
some expert comment on this situation for me?

The /dev/rtc driver builds and loads fine but the define RTC_IRQ is not
set in include/asm-alpha/mc146818rtc.h.  Naievely setting it, the driver
still builds and loads, but is unable to grab the interrupt (IRQ 8)
because the code in arch/alpha/kernel grabbed it first.

Why is the alpha kernel code grabbing the rtc interrupt?  Is it possible
it share its use with a user program?  Would reprogramming the interrupt
rate by a user program do violence to some internel kernel timing?

Thanks,
Bob McElrath [Univ. of California at Davis, Department of Physics]

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-11-09 19:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-08 21:33 /dev/rtc on alpha Bob McElrath
2003-11-09 11:24 ` Ivan Kokshaysky
2003-11-09 17:44   ` Bob McElrath
2003-11-09 19:05     ` Geert Uytterhoeven

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.