diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-04-04 15:42:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:36 -0400 |
commit | 62441bf1e0d5153dfb0cf8497df16deacff90789 (patch) | |
tree | dad63fa6e02c2496c66f23edc126bf746e549bff /arch/x86/kernel/mpparse_32.c | |
parent | e950bea8bff23c14eb38dc706aadf197ed81abf4 (diff) |
x86: unify construct_default_ioirq_mptable
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse_32.c')
-rw-r--r-- | arch/x86/kernel/mpparse_32.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index c185065c3ebc..e92c29e5fd4f 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c | |||
@@ -436,13 +436,13 @@ static void __init construct_default_ioirq_mptable(int mpc_default_type) | |||
436 | * If it does, we assume it's valid. | 436 | * If it does, we assume it's valid. |
437 | */ | 437 | */ |
438 | if (mpc_default_type == 5) { | 438 | if (mpc_default_type == 5) { |
439 | printk(KERN_INFO | 439 | printk(KERN_INFO "ISA/PCI bus type with no IRQ information... " |
440 | "ISA/PCI bus type with no IRQ information... falling back to ELCR\n"); | 440 | "falling back to ELCR\n"); |
441 | 441 | ||
442 | if (ELCR_trigger(0) || ELCR_trigger(1) || ELCR_trigger(2) | 442 | if (ELCR_trigger(0) || ELCR_trigger(1) || ELCR_trigger(2) || |
443 | || ELCR_trigger(13)) | 443 | ELCR_trigger(13)) |
444 | printk(KERN_WARNING | 444 | printk(KERN_ERR "ELCR contains invalid data... " |
445 | "ELCR contains invalid data... not using ELCR\n"); | 445 | "not using ELCR\n"); |
446 | else { | 446 | else { |
447 | printk(KERN_INFO | 447 | printk(KERN_INFO |
448 | "Using ELCR to identify PCI interrupts\n"); | 448 | "Using ELCR to identify PCI interrupts\n"); |
@@ -523,8 +523,7 @@ static inline void __init construct_default_ISA_mptable(int mpc_default_type) | |||
523 | bus.mpc_busid = 0; | 523 | bus.mpc_busid = 0; |
524 | switch (mpc_default_type) { | 524 | switch (mpc_default_type) { |
525 | default: | 525 | default: |
526 | printk("???\n"); | 526 | printk(KERN_ERR "???\nUnknown standard configuration %d\n", |
527 | printk(KERN_ERR "Unknown standard configuration %d\n", | ||
528 | mpc_default_type); | 527 | mpc_default_type); |
529 | /* fall through */ | 528 | /* fall through */ |
530 | case 1: | 529 | case 1: |