OpenCloudOS-Kernel/arch/mips/pci
Bjorn Helgaas 8190471087 MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses
The GT-64111 PCI host bridge has no address translation mechanism, so
it can't generate legacy port accesses.  This quirk fixes legacy device
port resources to contain the bus addresses actually generated by the
GT-64111.

I think this is the approach Ben Herrenschmidt suggested long ago:
    http://marc.info/?l=linux-kernel&m=119733290624544&w=2

This allows us to remove the IORESOURCE_PCI_FIXED hack from
pcibios_fixup_device_resources(), which converts bus addresses to CPU
addresses.  IORESOURCE_PCI_FIXED denotes resources that can't be moved;
it has nothing to do with converting bus to CPU addresses.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linux-mips@linux-mips.org
Tested-by: Yoichi Yuasa <yuasa@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/998/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-02-27 12:53:44 +01:00
..
Makefile MIPS: eXcite: Remove platform. 2009-12-17 01:57:35 +00:00
fixup-au1000.c [MIPS] Alchemy PCI code style cleanup 2008-05-12 16:46:52 +01:00
fixup-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
fixup-capcella.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-cobalt.c MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses 2010-02-27 12:53:44 +01:00
fixup-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fixup-fuloong2e.c MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
fixup-ip32.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-jmr3927.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-lemote2f.c MIPS: Loongson: Lemote-2F: USB: Not Emulate Non-Posted Writes 2010-02-27 12:53:09 +01:00
fixup-malta.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-mpc30x.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-pmcmsp.c Author: Ralf Baechle <ralf@linux-mips.org> 2007-10-29 19:35:37 +00:00
fixup-pnx8550.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-rbtx4927.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-rbtx4938.c [MIPS] TXx9: Make single kernel can support multiple boards 2008-07-15 18:44:35 +01:00
fixup-rc32434.c MIPS: RB532: Fix build error 2008-10-27 16:18:26 +00:00
fixup-sb1250.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
fixup-sni.c [MIPS] SNI PCIT CPLUS: workaround for b0rked irq wiring of onboard PCI bus 1 2007-11-15 23:21:50 +00:00
fixup-tb0219.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-tb0226.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-tb0287.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
fixup-wrppmc.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
fixup-yosemite.c [MIPS] PCI: Make dev pointer argument of pcibios_map_irq const. 2007-07-10 17:33:00 +01:00
msi-octeon.c MIPS: Reorganize Cavium OCTEON PCI support. 2009-07-03 15:45:29 +01:00
ops-au1000.c [MIPS] Alchemy PCI code style cleanup 2008-05-12 16:46:52 +01:00
ops-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
ops-bonito64.c MIPS: Bonito64: Make Loongson independent from Bonito64 code. 2009-12-17 01:57:06 +00:00
ops-bridge.c [MIPS] IP27: misc fixes 2008-06-05 18:13:15 +01:00
ops-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
ops-gt64xxx_pci0.c [MIPS] merge GT64111 PCI routines and GT64120 PCI_0 routines 2007-04-27 16:20:23 +01:00
ops-loongson2.c MIPS: Loongson: Change the Email address of Wu Zhangjin 2010-02-27 12:53:12 +01:00
ops-mace.c [MIPS] Enable FAST-20 for onboard scsi 2008-07-15 18:44:31 +01:00
ops-msc.c Fixes for system controllers for Atlas/Malta core cards. 2005-10-29 19:30:20 +01:00
ops-nile4.c [MIPS] Add back support for LASAT platforms 2007-10-11 23:46:00 +01:00
ops-pmcmsp.c MIPS: Make various locks static. 2010-02-27 12:53:30 +01:00
ops-pnx8550.c MIPS: Kill unused <asm/debug.h> inclusions 2008-10-15 12:46:52 +01:00
ops-rc32434.c [MIPS] Routerboard 532: Support for base system 2008-07-20 14:38:18 +01:00
ops-sni.c [MIPS] Fix "no space between function name and open parenthesis" warnings. 2007-10-11 23:46:15 +01:00
ops-titan-ht.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ops-titan.c [MIPS] Support for the RM9000-based Basler eXcite smart camera platform. 2006-06-19 17:39:26 +01:00
ops-tx3927.c [MIPS] TXx9: PCI error handling 2008-07-30 21:54:38 +01:00
ops-tx4927.c [MIPS] TXx9: PCI error handling 2008-07-30 21:54:38 +01:00
ops-vr41xx.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-bcm47xx.c MIPS: Nuke trailing blank lines 2010-02-27 12:53:14 +01:00
pci-bcm63xx.c MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
pci-bcm63xx.h MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs. 2009-09-17 20:07:52 +02:00
pci-bcm1480.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
pci-bcm1480ht.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
pci-emma2rh.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-ip27.c MIPS: Build fix - include <linux/smp.h> into all smp_processor_id() users. 2009-06-24 18:34:39 +01:00
pci-ip32.c [MIPS] Fix IP32 breakage 2008-01-07 15:32:03 +00:00
pci-lasat.c [MIPS] Remove mips_machtype for LASAT machines 2008-07-15 18:44:39 +01:00
pci-octeon.c MIPS: Cleanup switches with cases that can be merged 2010-02-27 12:53:14 +01:00
pci-rc32434.c MIPS: RC32434: Define io_map_base for PCI controller 2009-01-30 21:32:59 +00:00
pci-sb1250.c MIPS: Remove useless zero initializations. 2009-09-17 20:07:51 +02:00
pci-tx4927.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-tx4938.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-tx4939.c MIPS: Eleminate filenames from comments 2009-08-03 17:52:40 +01:00
pci-vr41xx.c Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-vr41xx.h Update Yoichi Yuasa's e-mail address 2009-07-03 15:45:29 +01:00
pci-yosemite.c [MIPS] C99-ify struct resource initialization. 2006-06-19 17:39:20 +01:00
pci.c MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses 2010-02-27 12:53:44 +01:00
pcie-octeon.c MIPS: Octeon PCIe: Make hardware and software bus numbers match. 2009-08-03 17:52:44 +01:00