diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-06-21 12:22:47 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-06-29 02:57:07 -0400 |
commit | 5ab9c4524d7edd6ae3711bdfd03e4a0deb17fc6e (patch) | |
tree | e7adfb3a5abcb5e16f3f2a1cefb5e9c611468286 /arch/powerpc/sysdev | |
parent | d3c7ffabf0ce31026b2e43490ff694d70c0fbd3a (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/sysdev')
-rw-r--r-- | arch/powerpc/sysdev/mv64x60_pci.c | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/tsi108_pci.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/mv64x60_pci.c b/arch/powerpc/sysdev/mv64x60_pci.c index b5aef4cbc8d2..6b08e76de5a2 100644 --- a/arch/powerpc/sysdev/mv64x60_pci.c +++ b/arch/powerpc/sysdev/mv64x60_pci.c | |||
@@ -142,7 +142,6 @@ static int __init mv64x60_add_bridge(struct device_node *dev) | |||
142 | return -ENOMEM; | 142 | return -ENOMEM; |
143 | 143 | ||
144 | hose->arch_data = dev; | 144 | hose->arch_data = dev; |
145 | hose->set_cfg_type = 1; | ||
146 | 145 | ||
147 | hose->first_busno = bus_range ? bus_range[0] : 0; | 146 | hose->first_busno = bus_range ? bus_range[0] : 0; |
148 | hose->last_busno = bus_range ? bus_range[1] : 0xff; | 147 | hose->last_busno = bus_range ? bus_range[1] : 0xff; |
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) | |||
226 | return -ENOMEM; | 226 | return -ENOMEM; |
227 | } | 227 | } |
228 | hose->arch_data = dev; | 228 | hose->arch_data = dev; |
229 | hose->set_cfg_type = 1; | ||
230 | 229 | ||
231 | hose->first_busno = bus_range ? bus_range[0] : 0; | 230 | hose->first_busno = bus_range ? bus_range[0] : 0; |
232 | hose->last_busno = bus_range ? bus_range[1] : 0xff; | 231 | hose->last_busno = bus_range ? bus_range[1] : 0xff; |