sh: pci io port base address code
authorMagnus Damm <magnus.damm@gmail.com>
Tue, 19 Feb 2008 12:35:31 +0000 (21:35 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 16 Apr 2009 07:00:14 +0000 (16:00 +0900)
commit8ce0143b11cdc519b8e1fd94a262b654ef0bc3ab
tree912403b5b8b853ca1479e95590ac2fd057de0030
parentef339f241b08a16af58897e6288ba200e0c7a8c7
sh: pci io port base address code

Adds a __get_pci_io_base() function which is used to match a port range
against struct pci_channel. This allows us to detect if a port range is
assigned to pci or happens to be legacy port io. While at it, remove unused
cpu-specific cruft.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/ops-rts7751r2d.c
arch/sh/include/asm/pci.h
arch/sh/kernel/io.c