Commit b0b9895b authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] Atari nvram fix

Define NVRAM_BYTES to 50 on Atari
parent 01d79bf0
...@@ -98,6 +98,8 @@ ...@@ -98,6 +98,8 @@
#define RTC_PORT(x) (TT_RTC_BAS + 2*(x)) #define RTC_PORT(x) (TT_RTC_BAS + 2*(x))
#define CHECK_DRIVER_INIT() (MACH_IS_ATARI && ATARIHW_PRESENT(TT_CLK)) #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 /* On Ataris, the checksum is over all bytes except the checksum bytes
* themselves; these are at the very end */ * themselves; these are at the very end */
#define ATARI_CKS_RANGE_START 0 #define ATARI_CKS_RANGE_START 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment