aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/kernel-parameters.txt2
-rw-r--r--arch/m68k/Kconfig.debug9
-rw-r--r--arch/m68k/amiga/amisound.c2
-rw-r--r--arch/m68k/amiga/config.c20
-rw-r--r--arch/m68k/apollo/config.c20
-rw-r--r--arch/m68k/atari/stram.c71
-rw-r--r--arch/m68k/configs/amiga_defconfig5
-rw-r--r--arch/m68k/configs/apollo_defconfig5
-rw-r--r--arch/m68k/configs/atari_defconfig5
-rw-r--r--arch/m68k/configs/bvme6000_defconfig5
-rw-r--r--arch/m68k/configs/hp300_defconfig5
-rw-r--r--arch/m68k/configs/mac_defconfig5
-rw-r--r--arch/m68k/configs/multi_defconfig5
-rw-r--r--arch/m68k/configs/mvme147_defconfig5
-rw-r--r--arch/m68k/configs/mvme16x_defconfig5
-rw-r--r--arch/m68k/configs/q40_defconfig5
-rw-r--r--arch/m68k/configs/sun3_defconfig5
-rw-r--r--arch/m68k/configs/sun3x_defconfig5
-rw-r--r--arch/m68k/hp300/config.c11
-rw-r--r--arch/m68k/include/asm/atari_stram.h2
-rw-r--r--arch/m68k/kernel/Makefile2
-rw-r--r--arch/m68k/kernel/early_printk.c67
-rw-r--r--arch/m68k/kernel/head.S207
-rw-r--r--arch/m68k/mac/config.c29
-rw-r--r--arch/m68k/mm/motorola.c10
-rw-r--r--arch/m68k/mvme16x/config.c26
-rw-r--r--drivers/block/ataflop.c2
-rw-r--r--drivers/scsi/atari_scsi.c2
-rw-r--r--drivers/video/fbdev/atafb.c49
29 files changed, 329 insertions, 262 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 30a8ad0dae53..7da289ee0589 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -892,7 +892,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
892 (mmio) or 32-bit (mmio32). 892 (mmio) or 32-bit (mmio32).
893 The options are the same as for ttyS, above. 893 The options are the same as for ttyS, above.
894 894
895 earlyprintk= [X86,SH,BLACKFIN,ARM] 895 earlyprintk= [X86,SH,BLACKFIN,ARM,M68k]
896 earlyprintk=vga 896 earlyprintk=vga
897 earlyprintk=efi 897 earlyprintk=efi
898 earlyprintk=xen 898 earlyprintk=xen
diff --git a/arch/m68k/Kconfig.debug b/arch/m68k/Kconfig.debug
index 229682721240..64776d7ac199 100644
--- a/arch/m68k/Kconfig.debug
+++ b/arch/m68k/Kconfig.debug
@@ -12,12 +12,17 @@ config BOOTPARAM_STRING
12 12
13config EARLY_PRINTK 13config EARLY_PRINTK
14 bool "Early printk" 14 bool "Early printk"
15 depends on MVME16x || MAC 15 depends on !(SUN3 || M68360 || M68000 || COLDFIRE)
16 help 16 help
17 Write kernel log output directly to a serial port. 17 Write kernel log output directly to a serial port.
18 Where implemented, output goes to the framebuffer as well.
19 PROM console functionality on Sun 3x is not affected by this option.
20
21 Pass "earlyprintk" on the kernel command line to get a
22 boot console.
18 23
19 This is useful for kernel debugging when your machine crashes very 24 This is useful for kernel debugging when your machine crashes very
20 early before the console code is initialized. 25 early, i.e. before the normal console driver is loaded.
21 You should normally say N here, unless you want to debug such a crash. 26 You should normally say N here, unless you want to debug such a crash.
22 27
23if !MMU 28if !MMU
diff --git a/arch/m68k/amiga/amisound.c b/arch/m68k/amiga/amisound.c
index 2559eefc6aff..90a60d758f8b 100644
--- a/arch/m68k/amiga/amisound.c
+++ b/arch/m68k/amiga/amisound.c
@@ -51,7 +51,7 @@ void __init amiga_init_sound(void)
51 51
52 snd_data = amiga_chip_alloc_res(sizeof(sine_data), &beep_res); 52 snd_data = amiga_chip_alloc_res(sizeof(sine_data), &beep_res);
53 if (!snd_data) { 53 if (!snd_data) {
54 printk (KERN_CRIT "amiga init_sound: failed to allocate chipmem\n"); 54 pr_crit("amiga init_sound: failed to allocate chipmem\n");
55 return; 55 return;
56 } 56 }
57 memcpy (snd_data, sine_data, sizeof(sine_data)); 57 memcpy (snd_data, sine_data, sizeof(sine_data));
diff --git a/arch/m68k/amiga/config.c b/arch/m68k/amiga/config.c
index 9625b7132227..01693df7f2f6 100644
--- a/arch/m68k/amiga/config.c
+++ b/arch/m68k/amiga/config.c
@@ -183,7 +183,7 @@ int __init amiga_parse_bootinfo(const struct bi_record *record)
183 dev->boardaddr = be32_to_cpu(cd->cd_BoardAddr); 183 dev->boardaddr = be32_to_cpu(cd->cd_BoardAddr);
184 dev->boardsize = be32_to_cpu(cd->cd_BoardSize); 184 dev->boardsize = be32_to_cpu(cd->cd_BoardSize);
185 } else 185 } else
186 printk("amiga_parse_bootinfo: too many AutoConfig devices\n"); 186 pr_warn("amiga_parse_bootinfo: too many AutoConfig devices\n");
187#endif /* CONFIG_ZORRO */ 187#endif /* CONFIG_ZORRO */
188 break; 188 break;
189 189
@@ -209,9 +209,9 @@ static void __init amiga_identify(void)
209 209
210 memset(&amiga_hw_present, 0, sizeof(amiga_hw_present)); 210 memset(&amiga_hw_present, 0, sizeof(amiga_hw_present));
211 211
212 printk("Amiga hardware found: "); 212 pr_info("Amiga hardware found: ");
213 if (amiga_model >= AMI_500 && amiga_model <= AMI_DRACO) { 213 if (amiga_model >= AMI_500 && amiga_model <= AMI_DRACO) {
214 printk("[%s] ", amiga_models[amiga_model-AMI_500]); 214 pr_cont("[%s] ", amiga_models[amiga_model-AMI_500]);
215 strcat(amiga_model_name, amiga_models[amiga_model-AMI_500]); 215 strcat(amiga_model_name, amiga_models[amiga_model-AMI_500]);
216 } 216 }
217 217
@@ -322,7 +322,7 @@ static void __init amiga_identify(void)
322 322
323#define AMIGAHW_ANNOUNCE(name, str) \ 323#define AMIGAHW_ANNOUNCE(name, str) \
324 if (AMIGAHW_PRESENT(name)) \ 324 if (AMIGAHW_PRESENT(name)) \
325 printk(str) 325 pr_cont(str)
326 326
327 AMIGAHW_ANNOUNCE(AMI_VIDEO, "VIDEO "); 327 AMIGAHW_ANNOUNCE(AMI_VIDEO, "VIDEO ");
328 AMIGAHW_ANNOUNCE(AMI_BLITTER, "BLITTER "); 328 AMIGAHW_ANNOUNCE(AMI_BLITTER, "BLITTER ");
@@ -354,8 +354,8 @@ static void __init amiga_identify(void)
354 AMIGAHW_ANNOUNCE(MAGIC_REKICK, "MAGIC_REKICK "); 354 AMIGAHW_ANNOUNCE(MAGIC_REKICK, "MAGIC_REKICK ");
355 AMIGAHW_ANNOUNCE(PCMCIA, "PCMCIA "); 355 AMIGAHW_ANNOUNCE(PCMCIA, "PCMCIA ");
356 if (AMIGAHW_PRESENT(ZORRO)) 356 if (AMIGAHW_PRESENT(ZORRO))
357 printk("ZORRO%s ", AMIGAHW_PRESENT(ZORRO3) ? "3" : ""); 357 pr_cont("ZORRO%s ", AMIGAHW_PRESENT(ZORRO3) ? "3" : "");
358 printk("\n"); 358 pr_cont("\n");
359 359
360#undef AMIGAHW_ANNOUNCE 360#undef AMIGAHW_ANNOUNCE
361} 361}
@@ -424,7 +424,7 @@ void __init config_amiga(void)
424 if (m68k_memory[i].addr < 16*1024*1024) { 424 if (m68k_memory[i].addr < 16*1024*1024) {
425 if (i == 0) { 425 if (i == 0) {
426 /* don't cut off the branch we're sitting on */ 426 /* don't cut off the branch we're sitting on */
427 printk("Warning: kernel runs in Zorro II memory\n"); 427 pr_warn("Warning: kernel runs in Zorro II memory\n");
428 continue; 428 continue;
429 } 429 }
430 disabled_z2mem += m68k_memory[i].size; 430 disabled_z2mem += m68k_memory[i].size;
@@ -435,8 +435,8 @@ void __init config_amiga(void)
435 } 435 }
436 } 436 }
437 if (disabled_z2mem) 437 if (disabled_z2mem)
438 printk("%dK of Zorro II memory will not be used as system memory\n", 438 pr_info("%dK of Zorro II memory will not be used as system memory\n",
439 disabled_z2mem>>10); 439 disabled_z2mem>>10);
440 } 440 }
441 441
442 /* request all RAM */ 442 /* request all RAM */
@@ -475,7 +475,7 @@ static void __init amiga_sched_init(irq_handler_t timer_routine)
475 jiffy_ticks = DIV_ROUND_CLOSEST(amiga_eclock, HZ); 475 jiffy_ticks = DIV_ROUND_CLOSEST(amiga_eclock, HZ);
476 476
477 if (request_resource(&mb_resources._ciab, &sched_res)) 477 if (request_resource(&mb_resources._ciab, &sched_res))
478 printk("Cannot allocate ciab.ta{lo,hi}\n"); 478 pr_warn("Cannot allocate ciab.ta{lo,hi}\n");
479 ciab.cra &= 0xC0; /* turn off timer A, continuous mode, from Eclk */ 479 ciab.cra &= 0xC0; /* turn off timer A, continuous mode, from Eclk */
480 ciab.talo = jiffy_ticks % 256; 480 ciab.talo = jiffy_ticks % 256;
481 ciab.tahi = jiffy_ticks / 256; 481 ciab.tahi = jiffy_ticks / 256;
diff --git a/arch/m68k/apollo/config.c b/arch/m68k/apollo/config.c
index 9268c0f96376..6e62d66c396e 100644
--- a/arch/m68k/apollo/config.c
+++ b/arch/m68k/apollo/config.c
@@ -65,8 +65,8 @@ int __init apollo_parse_bootinfo(const struct bi_record *record)
65 65
66static void __init dn_setup_model(void) 66static void __init dn_setup_model(void)
67{ 67{
68 printk("Apollo hardware found: ");