diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-02-19 07:35:31 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-16 03:00:14 -0400 |
commit | 8ce0143b11cdc519b8e1fd94a262b654ef0bc3ab (patch) | |
tree | 912403b5b8b853ca1479e95590ac2fd057de0030 /arch/sh/drivers/pci | |
parent | ef339f241b08a16af58897e6288ba200e0c7a8c7 (diff) |
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>
Diffstat (limited to 'arch/sh/drivers/pci')
-rw-r--r-- | arch/sh/drivers/pci/ops-rts7751r2d.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/drivers/pci/ops-rts7751r2d.c b/arch/sh/drivers/pci/ops-rts7751r2d.c index fe5a231b8669..58ed1d58cffb 100644 --- a/arch/sh/drivers/pci/ops-rts7751r2d.c +++ b/arch/sh/drivers/pci/ops-rts7751r2d.c | |||
@@ -68,7 +68,6 @@ static struct sh4_pci_address_map sh7751_pci_map = { | |||
68 | 68 | ||
69 | int __init pcibios_init_platform(void) | 69 | int __init pcibios_init_platform(void) |
70 | { | 70 | { |
71 | __set_io_port_base(SH7751_PCI_IO_BASE); | ||
72 | return sh7751_pcic_init(&board_pci_channels[0], &sh7751_pci_map); | 71 | return sh7751_pcic_init(&board_pci_channels[0], &sh7751_pci_map); |
73 | } | 72 | } |
74 | 73 | ||