patch-2.4.8 linux/drivers/char/nvram.c
Next file: linux/drivers/char/riscom8.c
Previous file: linux/drivers/char/mxser.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Aug  5 13:12:40 2001
-  Orig file: 
v2.4.7/linux/drivers/char/nvram.c
-  Orig date: 
Tue Jul  3 17:08:19 2001
diff -u --recursive --new-file v2.4.7/linux/drivers/char/nvram.c linux/drivers/char/nvram.c
@@ -113,7 +113,7 @@
 #define	NVRAM_EXCL		2		/* opened with O_EXCL */
 
 #define	RTC_FIRST_BYTE		14	/* RTC register number of first NVRAM byte */
-#define	NVRAM_BYTES			128	/* number of NVRAM bytes */
+#define	NVRAM_BYTES			128-RTC_FIRST_BYTE	/* number of NVRAM bytes */
 
 
 static int mach_check_checksum( void );
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)