Re: /dev/rtc on alpha
From: Bob McElrath (bob+linux-kernel_at_mcelrath.org)
Date: 11/09/03
- Previous message: Dave Jones: "Re: Syscalls being obsoleted???"
- In reply to: Ivan Kokshaysky: "Re: /dev/rtc on alpha"
- Next in thread: Geert Uytterhoeven: "Re: /dev/rtc on alpha"
- Reply: Geert Uytterhoeven: "Re: /dev/rtc on alpha"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 9 Nov 2003 09:44:36 -0800 To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Ivan Kokshaysky [ink@jurassic.park.msu.ru] wrote:
> On Sat, Nov 08, 2003 at 01:33:57PM -0800, Bob McElrath wrote:
> > 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?
>
> On most Alphas RTC is the system timer (running at 1024 Hz).
> So changing the interrupt rate from user space wouldn't be a good idea.
Then I propose CONFIG_RTC be set to "n" in the arch/alpha files, and the
/dev/rtc driver be disabled on alpha. There seems to be confusion on
this point in the config files. CONFIG_RTC is for the /dev/rtc driver.
Since the timer can only be set to powers of 2, it should be possible to
simulate getting the interrupt by calling the rtc.c interrupt handler
every 2^n interrupts...that way the user could program the timer for any
interval less than 1024 Hz.
Cheers,
Bob McElrath [Univ. of California at Davis, Department of Physics]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- application/pgp-signature attachment: Digital signature
- Previous message: Dave Jones: "Re: Syscalls being obsoleted???"
- In reply to: Ivan Kokshaysky: "Re: /dev/rtc on alpha"
- Next in thread: Geert Uytterhoeven: "Re: /dev/rtc on alpha"
- Reply: Geert Uytterhoeven: "Re: /dev/rtc on alpha"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|