Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9dd1e9eb authored by Andi Kleen's avatar Andi Kleen Committed by Jesse Barnes
Browse files

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: default avatarAndi Kleen <ak@linux.intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 10fec20e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");