diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2019-05-08 00:09:13 +0300 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-05-10 02:39:27 +0300 |
commit | a57140e9a850582ddafdd8f115b78713baaf0d00 (patch) | |
tree | 5bef10f17e75eb4b9168d7562856cfc9144e12c0 /arch/mips/sgi-ip27/ip27-init.c | |
parent | 8041edb5920902adc9b28f2fcd9ccce395434ead (diff) | |
download | linux-a57140e9a850582ddafdd8f115b78713baaf0d00.tar.xz |
MIPS: SGI-IP27: use generic PCI driver
Converted bridge code to a platform driver using the PCI generic driver
framework and use adding platform devices during xtalk scan. This allows
easier sharing bridge driver for other SGI platforms like IP30 (Octane) and
IP35 (Origin 3k, Fuel, Tezro).
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
[paul.burton@mips.com:
- Leave __phys_to_dma(), __dma_to_phys() & pcibus_to_node() in
arch/mips/pci/pci-ip27.c since the motivation for moving them
disappeared when the driver stopped being moved to drivers/pci.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-init.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/sgi-ip27/ip27-init.c b/arch/mips/sgi-ip27/ip27-init.c index 6074efeff894..066b33f50bcc 100644 --- a/arch/mips/sgi-ip27/ip27-init.c +++ b/arch/mips/sgi-ip27/ip27-init.c @@ -184,5 +184,7 @@ void __init plat_mem_setup(void) ioc3_eth_init(); + ioport_resource.start = 0; + ioport_resource.end = ~0UL; set_io_port_base(IO_BASE); } |