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.
>  > 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?

OOPS. Sorry.

I didn't notice the following paragraph in nvram.c as I read it:

* The data are supplied as a (seekable) character device, /dev/nvram. The
* size of this file is 50, the number of freely available bytes in the memory
* (i.e., not used by the RTC itself).

So yes, please ignore the 50 vs 64 question.

---
Meelis Roos (mroos@tartu.cyber.ee)


-
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.224 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site