From: Arnd Bergmann Date: Mon, 4 Jun 2007 18:14:39 +0000 (+1000) Subject: [POWERPC] Fix pci_setup_phb_io_dynamic for pci_iomap X-Git-Tag: v2.6.22-rc5~102^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7c40012b84f670ba57fe4a3f453ddecc8813e9b;p=pandora-kernel.git [POWERPC] Fix pci_setup_phb_io_dynamic for pci_iomap We had a problem on a system with only dynamically allocated PCI buses (using of_pci_phb_driver) in combination with libata. This setup ended up having no "primary" phb, which means that pci_io_base never got initialized and all IO port numbers are 64 bit numbers, which is larger than the PIO_MASK limit. Signed-off-by: Arnd Bergmann Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed