lkml.org 
[lkml]   [1999]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH: /dev/nvram cleanups.
Hi Meelis.

>> 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 :) (no, I don't have real need to access these bytes yet)

I thought your arithmetic was better than that...

Q> Bytes Description
Q> ~~~~~ ~~~~~~~~~~~
Q> 14 RTC registers
Q> 50 CMOS RAM
Q> ~~~~~
Q> 64 Total

Comments?

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html


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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.035 / U:1.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site