From 64793e7fe2ea2953a63a7836a6432d762c53bfc9 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Fri, 15 Oct 1999 21:38:15 +0000 Subject: Eliminate remaining part of incorrect PCI bus numbering sanity check on systems with more than one PCI bus. --- sys/amd64/amd64/mp_machdep.c | 7 ------- sys/amd64/amd64/mptable.c | 7 ------- sys/amd64/include/mptable.h | 7 ------- sys/i386/i386/mp_machdep.c | 7 ------- sys/i386/i386/mptable.c | 7 ------- sys/i386/include/mptable.h | 7 ------- sys/kern/subr_smp.c | 7 ------- 7 files changed, 49 deletions(-) (limited to 'sys') diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index dec05e207191..d1019733b41b 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -1046,13 +1046,6 @@ fix_mp_table(void) } } } - /* sanity check if more than 1 PCI bus */ - else if (num_pci_bus > 1) { - for (x = 0; x < mp_nbusses; ++x) { - if (bus_data[x].bus_type != PCI) - continue; - } - } } diff --git a/sys/amd64/amd64/mptable.c b/sys/amd64/amd64/mptable.c index dec05e207191..d1019733b41b 100644 --- a/sys/amd64/amd64/mptable.c +++ b/sys/amd64/amd64/mptable.c @@ -1046,13 +1046,6 @@ fix_mp_table(void) } } } - /* sanity check if more than 1 PCI bus */ - else if (num_pci_bus > 1) { - for (x = 0; x < mp_nbusses; ++x) { - if (bus_data[x].bus_type != PCI) - continue; - } - } } diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h index dec05e207191..d1019733b41b 100644 --- a/sys/amd64/include/mptable.h +++ b/sys/amd64/include/mptable.h @@ -1046,13 +1046,6 @@ fix_mp_table(void) } } } - /* sanity check if more than 1 PCI bus */ - else if (num_pci_bus > 1) { - for (x = 0; x < mp_nbusses; ++x) { - if (bus_data[x].bus_type != PCI) - continue; - } - } } diff --git a/sys/i386/i386/mp_machdep.c b/sys/i386/i386/mp_machdep.c index dec05e207191..d1019733b41b 100644 --- a/sys/i386/i386/mp_machdep.c +++ b/sys/i386/i386/mp_machdep.c @@ -1046,13 +1046,6 @@ fix_mp_table(void) } } } - /* sanity check if more than 1 PCI bus */ - else if (num_pci_bus > 1) { - for (x = 0; x < mp_nbusses; ++x) { - if (bus_data[x].bus_type != PCI) - continue; - } - } } diff --git a/sys/i386/i386/mptable.c b/sys/i386/i386/mptable.c index dec05e207191..d1019733b41b 100644 --- a/sys/i386/i386/mptable.c +++ b/sys/i386/i386/mptable.c @@ -1046,13 +1046,6 @@ fix_mp_table(void) } } } - /* sanity check if more than 1 PCI bus */ - else if (num_pci_bus > 1) { - for (x = 0; x < mp_nbusses; ++x) { - if (bus_data[x].bus_type != PCI) - continue; - } - } } diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h index dec05e207191..d1019733b41b 100644 --- a/sys/i386/include/mptable.h +++ b/sys/i386/include/mptable.h @@ -1046,13 +1046,6 @@ fix_mp_table(void) } } } - /* sanity check if more than 1 PCI bus */ - else if (num_pci_bus > 1) { - for (x = 0; x < mp_nbusses; ++x) { - if (bus_data[x].bus_type != PCI) - continue; - } - } } diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index dec05e207191..d1019733b41b 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -1046,13 +1046,6 @@ fix_mp_table(void) } } } - /* sanity check if more than 1 PCI bus */ - else if (num_pci_bus > 1) { - for (x = 0; x < mp_nbusses; ++x) { - if (bus_data[x].bus_type != PCI) - continue; - } - } } -- cgit v1.3