aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/tsi108_pci.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-21 11:22:47 -0500
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 01:57:07 -0500
commit5ab9c4524d7edd6ae3711bdfd03e4a0deb17fc6e (patch)
treee7adfb3a5abcb5e16f3f2a1cefb5e9c611468286 /arch/powerpc/sysdev/tsi108_pci.c
parent[POWERPC] disallow building powermac and tsi108 without PCI (diff)
downloadlinux-dev-5ab9c4524d7edd6ae3711bdfd03e4a0deb17fc6e.tar.xz
linux-dev-5ab9c4524d7edd6ae3711bdfd03e4a0deb17fc6e.zip
[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/sysdev/tsi108_pci.c')
-rw-r--r--arch/powerpc/sysdev/tsi108_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c
index 2153163fa593..33177b60c7ed 100644
--- a/arch/powerpc/sysdev/tsi108_pci.c
+++ b/arch/powerpc/sysdev/tsi108_pci.c
@@ -226,7 +226,6 @@ int __init tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary)
return -ENOMEM;
}
hose->arch_data = dev;
- hose->set_cfg_type = 1;
hose->first_busno = bus_range ? bus_range[0] : 0;
hose->last_busno = bus_range ? bus_range[1] : 0xff;