sh: use ctrl_in/out for on chip pci access
authorMagnus Damm <magnus.damm@gmail.com>
Thu, 14 Feb 2008 04:52:43 +0000 (13:52 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:25:32 +0000 (14:25 +0900)
commite036eaa681a17f71b64f6d9040fe605555623919
tree6fe462fe6106e830f39abd25f0e1a4f8aff3cb5c
parentf99cb7a43c5cca1813a97312487acf7a0f88ee2a
sh: use ctrl_in/out for on chip pci access

This patch makes sure ctrl_inN/outN are used instead of inN/outN for on chip
pci registers. Without this patch addresses may be adjusted using the value
in generic_io_base. This patch makes it possible to set generic_io_base and
have pci without reading and writing all over the place.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Katsuya MATSUBARA <matsu@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/fixups-lboxre2.c
arch/sh/drivers/pci/fixups-rts7751r2d.c
arch/sh/drivers/pci/ops-dreamcast.c
arch/sh/drivers/pci/pci-sh4.h
arch/sh/drivers/pci/pci-sh7751.c
arch/sh/drivers/pci/pci-sh7780.c