[PATCH 2/2] powerpc: Fix IO space on PCI busses created from of_platform

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed May 16 06:46:09 EST 2007


On Tue, 2007-05-15 at 15:24 +0200, Arnd Bergmann wrote:
> 
> I think this still needs some logic to make sure we have at least one
> primary PHB in the system. On a board that has all phbs probed by
> of_platform code, we never set the pci_io_base variable.

Point, I need to fix that too.

> The easiest solution might be to statically initialize pci_io_base
> to PHBS_IO_BASE. If it is different from that, we are already broken
> because we would get _negative_ I/O port numbers for PHBs below
> pci_io_base. 

If we do that we need to clear it in iSeries code though.

Ben.





More information about the Linuxppc-dev mailing list