trs80: fix handling of standard 128K systems
authorAlan Cox <alan@linux.intel.com>
Thu, 17 May 2018 12:37:35 +0000 (13:37 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 17 May 2018 12:37:35 +0000 (13:37 +0100)
128K systems have *two* banks not one.

Kernel/platform-trs80/discard.c

index 3c7d5ab..9dcac11 100644 (file)
@@ -18,7 +18,7 @@ void map_init(void)
 {
 }
 
-uint8_t nbanks = 1;    /* Default 1 bank, unless port 94 probe updates */
+uint8_t nbanks = 2;    /* Default 2 banks, unless port 94 probe updates */
 
 void pagemap_init(void)
 {