mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
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>
This commit is contained in:
parent
10fec20ef5
commit
9dd1e9eb5c
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue