sh: pci: Consolidate pci_iomap() and use the generic I/O base.
commit0bb34a6bf1f71d5ad2abfda582a2c2794957bc7b
authorPaul Mundt <lethal@linux-sh.org>
Mon, 20 Apr 2009 07:38:00 +0000 (20 16:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 20 Apr 2009 07:38:00 +0000 (20 16:38 +0900)
tree2ac5a8400ac65001b78f173b51bd41b0f38d9376
parent394b6d2fe624246e258a218dac68d44fe9a8411f
sh: pci: Consolidate pci_iomap() and use the generic I/O base.

This consolidates the pci_iomap() definitions and reworks how the I/O
port base is handled. PCI channels can register their own I/O map base,
or if none is provided, the system-wide generic I/O base is used instead.

Functionally nothing changes, while this allows us to kill off lots of
I/O address special casing and lookups.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/pci-lib.c
arch/sh/drivers/pci/pci-new.c
arch/sh/drivers/pci/pci.c
arch/sh/include/asm/pci.h
arch/sh/kernel/io.c