Commit 9c0076cb authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Ingo Molnar

x86: use not_pci bitmap #5

Signed-off-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 6728801d
...@@ -1010,11 +1010,14 @@ static int MPBIOS_trigger(int idx) ...@@ -1010,11 +1010,14 @@ static int MPBIOS_trigger(int idx)
{ {
case 0: /* conforms, ie. bus-type dependent */ case 0: /* conforms, ie. bus-type dependent */
{ {
trigger = test_bit(bus, mp_bus_not_pci)?
default_ISA_trigger(idx):
default_PCI_trigger(idx);
switch (mp_bus_id_to_type[bus]) switch (mp_bus_id_to_type[bus])
{ {
case MP_BUS_ISA: /* ISA pin */ case MP_BUS_ISA: /* ISA pin */
{ {
trigger = default_ISA_trigger(idx); /* set before the switch */
break; break;
} }
case MP_BUS_EISA: /* EISA pin */ case MP_BUS_EISA: /* EISA pin */
...@@ -1024,7 +1027,7 @@ static int MPBIOS_trigger(int idx) ...@@ -1024,7 +1027,7 @@ static int MPBIOS_trigger(int idx)
} }
case MP_BUS_PCI: /* PCI pin */ case MP_BUS_PCI: /* PCI pin */
{ {
trigger = default_PCI_trigger(idx); /* set before the switch */
break; break;
} }
case MP_BUS_MCA: /* MCA pin */ case MP_BUS_MCA: /* MCA pin */
......
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