Re: PATCH: /dev/nvram cleanups.

Philipp Rumpf (prumpf@suse.de)
Thu, 29 Jul 1999 14:23:35 +0200


> > Some RTCs implement only 64 bytes of NVRAM, with bytes 64-127 mapping back
> > to 0-63. That way, you could not only write the NVRAM, but make the RTC
> > generate interrupts (which we use as timer interrupts on some Alphas), set
> > the system time or cause alarms as soon as you'd have write access to the
> > NVRAM. AFAIK there is no way to autodetect the size of the NVRAM.
>
> OK, I've seen a 64-byte CMOS myself. But 64 is still better than 50 :)

the 14 bytes are reserved for RTC control, so you can use only 50 bytes of the
RAM on 64 byte RTCs, 114 on 128 bytes RTCs

-
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/