projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10fec20
)
x86/PCI: allow scanning of 255 PCI busses
author
Andi Kleen
<andi@firstfloor.org>
Mon, 11 Aug 2008 21:11:05 +0000
(23:11 +0200)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 11 Aug 2008 22:23:50 +0000
(15:23 -0700)
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>
arch/x86/pci/legacy.c
patch
|
blob
|
history
diff --git
a/arch/x86/pci/legacy.c
b/arch/x86/pci/legacy.c
index
ec9ce35
..
b722dd4
100644
(file)
--- 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");