Skip to content
Browse files

mptable: Always clear 'force_pci0' before setting/using it

  • Loading branch information...
1 parent e90e7ac commit 8d905764b451e29b1dde45b201198fbf284c5956 Sepherosa Ziehau committed Mar 20, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 sys/platform/pc32/i386/mp_machdep.c
  2. +1 −0 sys/platform/pc64/x86_64/mp_machdep.c
View
1 sys/platform/pc32/i386/mp_machdep.c
@@ -3426,6 +3426,7 @@ mptable_pci_int_register(void)
if (TAILQ_EMPTY(&bus_info.mbi_list))
goto done;
+ force_pci0 = 0;
npcibus = 0;
TAILQ_FOREACH(bus, &bus_info.mbi_list, mb_link) {
if (bus->mb_type == MPTABLE_BUS_PCI)
View
1 sys/platform/pc64/x86_64/mp_machdep.c
@@ -3421,6 +3421,7 @@ mptable_pci_int_register(void)
if (TAILQ_EMPTY(&bus_info.mbi_list))
goto done;
+ force_pci0 = 0;
npcibus = 0;
TAILQ_FOREACH(bus, &bus_info.mbi_list, mb_link) {
if (bus->mb_type == MPTABLE_BUS_PCI)

0 comments on commit 8d90576

Please sign in to comment.
Something went wrong with that request. Please try again.