diff options
author | Andi Kleen <andi@firstfloor.org> | 2008-08-11 23:11:05 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-12 00:23:50 +0200 |
commit | 9dd1e9eb5cd6f79d4efda57db4e26dfa31ff9ae5 (patch) | |
tree | 5065612bcc36b38c425f6c78b7b2cec9fac1d1d8 /arch/x86/pci | |
parent | Merge branch 'for-linus' of git://git.o-hand.com/linux-mfd (diff) | |
download | linux-9dd1e9eb5cd6f79d4efda57db4e26dfa31ff9ae5.tar.xz linux-9dd1e9eb5cd6f79d4efda57db4e26dfa31ff9ae5.zip |
x86/PCI: allow scanning of 255 PCI busses
Fix an old off by one error in the legacy PCI bus check. 0xff
is a valid bus.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c index ec9ce35e44d6..b722dd481b39 100644 --- a/arch/x86/pci/legacy.c +++ b/arch/x86/pci/legacy.c @@ -14,7 +14,7 @@ static void __devinit pcibios_fixup_peer_bridges(void) int n, devfn; long node; - if (pcibios_last_bus <= 0 || pcibios_last_bus >= 0xff) + if (pcibios_last_bus <= 0 || pcibios_last_bus > 0xff) return; DBG("PCI: Peer bridge fixup\n"); |