]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ppc/ppc64: Fix g5 access to PCI IO cycles
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 29 Sep 2004 07:09:09 +0000 (00:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 29 Sep 2004 07:09:09 +0000 (00:09 -0700)
Looks like we never needed them, since that bug has been there forever,
I didn't get the right base for the IO cycles on the G5 host bridge
in the first place (I probably misinterpreted some OF forth code or
something like that).

arch/ppc/platforms/pmac_pci.c
arch/ppc64/kernel/pmac_pci.c

index 205a13e1d53dddb18ec33cfff48380699514991d..28614c40b165f7e26a81f5aed01b6c471595c6dc 100644 (file)
@@ -716,7 +716,7 @@ setup_u3_ht(struct pci_controller* hose, struct reg_property *addr)
         * properties or figuring out the U3 address space decoding logic and
         * then read its configuration register (if any).
         */
-       hose->io_base_phys = 0xf4000000 + 0x00400000;
+       hose->io_base_phys = 0xf4000000;
        hose->io_base_virt = ioremap(hose->io_base_phys, 0x00400000);
        isa_io_base = (unsigned long) hose->io_base_virt;
        hose->io_resource.name = np->full_name;
index e66a299037ba20a2771f4d60bb35d996f207f7ff..9af5c0947dc912c19e1e001f778fc1e4a54e5b93 100644 (file)
@@ -419,7 +419,7 @@ static void __init setup_u3_ht(struct pci_controller* hose)
         * properties or figuring out the U3 address space decoding logic and
         * then read it's configuration register (if any).
         */
-       hose->io_base_phys = 0xf4000000 + 0x00400000;
+       hose->io_base_phys = 0xf4000000;
        hose->io_base_virt = ioremap(hose->io_base_phys, 0x00400000);
        isa_io_base = pci_io_base = (unsigned long) hose->io_base_virt;
        hose->io_resource.name = np->full_name;