Messages in this thread | | | Date | Sun, 20 Feb 2000 14:07:16 +0100 | From | Guest section DW <> | Subject | Re: Periodic RTC interrupt |
| |
On Sat, Feb 19, 2000 at 08:38:17PM -0500, Jeff Garzik wrote: > Ralf Baechle wrote:
> > What application need the /dev/rtc periodic interrupt? I'm porting to > > a platoform which uses a M58T35 RTC which doesn't supply such an > > interrupt, so the question is if it's worth to care at all and possibly > > emulate an timer interrupt from another source. > > The RTC driver doesn't make much sense without interrupts...
hwclock tries to use /dev/rtc to read and set the hardware clock.
[Of course the idea is that if the kernel provides this access then a userspace program need not try to access the hardware itself. Today there are still machines where "hwclock --directisa" works but "hwclock" fails, so the kernel code for rtc is not perfect yet.]
Andries
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |