Re: PATCH: /dev/nvram cleanups.

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


> Why is there a 50 byte limit on nvram? Everything until the checksum and
> 2 additional bytes? Why not address the full 128 bytes?

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.

Philipp Rumpf

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