Re: /dev/rtc on alpha

From: Geert Uytterhoeven
Date: Sun Nov 09 2003 - 14:08:01 EST


On Sun, 9 Nov 2003, Bob McElrath wrote:
> Ivan Kokshaysky [ink@xxxxxxxxxxxxxxxxxxxx] 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.

As an alternative, you can try using genrtc instead.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/