]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Atari nvram fix
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 3 Nov 2002 07:53:23 +0000 (23:53 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Sun, 3 Nov 2002 07:53:23 +0000 (23:53 -0800)
Define NVRAM_BYTES to 50 on Atari

drivers/char/nvram.c

index 44ea3a167771160de35736f9b9ae978df6841d6f..da7a0fd6e480a892e45a54dc50f43960f3ab291d 100644 (file)
@@ -98,6 +98,8 @@
 #define RTC_PORT(x)            (TT_RTC_BAS + 2*(x))
 #define CHECK_DRIVER_INIT()    (MACH_IS_ATARI && ATARIHW_PRESENT(TT_CLK))
 
+#define NVRAM_BYTES            50
+
 /* On Ataris, the checksum is over all bytes except the checksum bytes
  * themselves; these are at the very end */
 #define ATARI_CKS_RANGE_START  0