From: Geert Uytterhoeven Date: Sun, 3 Nov 2002 07:53:23 +0000 (-0800) Subject: [PATCH] Atari nvram fix X-Git-Tag: v2.5.46~14^2~28 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=b0b9895b3d76cb00f99fc8d3aea2c775e31fa63c;p=history.git [PATCH] Atari nvram fix Define NVRAM_BYTES to 50 on Atari --- diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c index 44ea3a167771..da7a0fd6e480 100644 --- a/drivers/char/nvram.c +++ b/drivers/char/nvram.c @@ -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