diff options
Diffstat (limited to 'arch/x86/kernel/apic/io_apic.c')
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index e88300d8e80a..675e9045a3c5 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -142,7 +142,7 @@ int mp_irq_entries; | |||
142 | /* GSI interrupts */ | 142 | /* GSI interrupts */ |
143 | static int nr_irqs_gsi = NR_IRQS_LEGACY; | 143 | static int nr_irqs_gsi = NR_IRQS_LEGACY; |
144 | 144 | ||
145 | #if defined (CONFIG_MCA) || defined (CONFIG_EISA) | 145 | #ifdef CONFIG_EISA |
146 | int mp_bus_id_to_type[MAX_MP_BUSSES]; | 146 | int mp_bus_id_to_type[MAX_MP_BUSSES]; |
147 | #endif | 147 | #endif |
148 | 148 | ||
@@ -875,7 +875,7 @@ static int __init find_isa_irq_apic(int irq, int type) | |||
875 | return -1; | 875 | return -1; |
876 | } | 876 | } |
877 | 877 | ||
878 | #if defined(CONFIG_EISA) || defined(CONFIG_MCA) | 878 | #ifdef CONFIG_EISA |
879 | /* | 879 | /* |
880 | * EISA Edge/Level control register, ELCR | 880 | * EISA Edge/Level control register, ELCR |
881 | */ | 881 | */ |
@@ -912,12 +912,6 @@ static int EISA_ELCR(unsigned int irq) | |||
912 | #define default_PCI_trigger(idx) (1) | 912 | #define default_PCI_trigger(idx) (1) |
913 | #define default_PCI_polarity(idx) (1) | 913 | #define default_PCI_polarity(idx) (1) |
914 | 914 | ||
915 | /* MCA interrupts are always polarity zero level triggered, | ||
916 | * when listed as conforming in the MP table. */ | ||
917 | |||
918 | #define default_MCA_trigger(idx) (1) | ||
919 | #define default_MCA_polarity(idx) default_ISA_polarity(idx) | ||
920 | |||
921 | static int irq_polarity(int idx) | 915 | static int irq_polarity(int idx) |
922 | { | 916 | { |
923 | int bus = mp_irqs[idx].srcbus; | 917 | int bus = mp_irqs[idx].srcbus; |
@@ -975,7 +969,7 @@ static int irq_trigger(int idx) | |||
975 | trigger = default_ISA_trigger(idx); | 969 | trigger = default_ISA_trigger(idx); |
976 | else | 970 | else |
977 | trigger = default_PCI_trigger(idx); | 971 | trigger = default_PCI_trigger(idx); |
978 | #if defined(CONFIG_EISA) || defined(CONFIG_MCA) | 972 | #ifdef CONFIG_EISA |
979 | switch (mp_bus_id_to_type[bus]) { | 973 | switch (mp_bus_id_to_type[bus]) { |
980 | case MP_BUS_ISA: /* ISA pin */ | 974 | case MP_BUS_ISA: /* ISA pin */ |
981 | { | 975 | { |
@@ -992,11 +986,6 @@ static int irq_trigger(int idx) | |||
992 | /* set before the switch */ | 986 | /* set before the switch */ |
993 | break; | 987 | break; |
994 | } | 988 | } |
995 | case MP_BUS_MCA: /* MCA pin */ | ||
996 | { | ||
997 | trigger = default_MCA_trigger(idx); | ||
998 | break; | ||
999 | } | ||
1000 | default: | 989 | default: |
1001 | { | 990 | { |
1002 | printk(KERN_WARNING "broken BIOS!!\n"); | 991 | printk(KERN_WARNING "broken BIOS!!\n"); |