aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/82xx
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-21 12:22:47 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 02:57:07 -0400
commit5ab9c4524d7edd6ae3711bdfd03e4a0deb17fc6e (patch)
treee7adfb3a5abcb5e16f3f2a1cefb5e9c611468286 /arch/powerpc/platforms/82xx
parentd3c7ffabf0ce31026b2e43490ff694d70c0fbd3a (diff)
[POWERPC] Remove set_cfg_type for PCI indirect users that don't need it
The Freescale and Marvell PCI controllers dont require explicit setting for type 1 config cycles. They handle producing them by implicitly looking at the bus, devfn. The TSI108 and 52xx don't use the generic PCI indirect code and thus don't bother with set_cfg_type. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/82xx')
-rw-r--r--arch/powerpc/platforms/82xx/mpc82xx_ads.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/82xx/mpc82xx_ads.c b/arch/powerpc/platforms/82xx/mpc82xx_ads.c
index 081c0abe4f18..04bf57079c1e 100644
--- a/arch/powerpc/platforms/82xx/mpc82xx_ads.c
+++ b/arch/powerpc/platforms/82xx/mpc82xx_ads.c
@@ -548,14 +548,11 @@ static void __init mpc82xx_add_bridge(struct device_node *np)
548 return; 548 return;
549 549
550 hose->arch_data = np; 550 hose->arch_data = np;
551 hose->set_cfg_type = 1;
552 551
553 hose->first_busno = bus_range ? bus_range[0] : 0; 552 hose->first_busno = bus_range ? bus_range[0] : 0;
554 hose->last_busno = bus_range ? bus_range[1] : 0xff; 553 hose->last_busno = bus_range ? bus_range[1] : 0xff;
555 hose->bus_offset = 0; 554 hose->bus_offset = 0;
556 555
557 hose->set_cfg_type = 1;
558
559 setup_indirect_pci(hose, 556 setup_indirect_pci(hose,
560 r.start + offsetof(pci_cpm2_t, pci_cfg_addr), 557 r.start + offsetof(pci_cpm2_t, pci_cfg_addr),
561 r.start + offsetof(pci_cpm2_t, pci_cfg_data)); 558 r.start + offsetof(pci_cpm2_t, pci_cfg_data));