[PATCH] powerpc/pci: check the bus address instead of resource address in pcibios_fixup_resources

David Laight David.Laight at ACULAB.COM
Wed Jun 5 23:10:45 EST 2013

> If a BAR has the value of 0, we would assume that it is unset yet and
> then mark the resource as unset and would reassign it later.

IIRC the PCI spec allows a BAR address of zero.
Certainly some sparc systems have assigned 0 to a BAR.
So assuming a BAR of 0 means it is unset may not be
true for all systems.


More information about the Linuxppc-dev mailing list