diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 05:42:00 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 05:42:00 -0400 |
commit | 09cfeb133e3cac39b8b9a2cb1d8ab4f77e396248 (patch) | |
tree | e74554cadc6e60ebe1243e1297d90fd4ac4c2a2b /arch/sh/drivers/pci/pci-sh7780.c | |
parent | e79066a659b893debe19010179d3f3f015d76d1c (diff) |
sh: pci: Track io and mem_offset per-channel.
This implements a per-hose offset for I/O and mem resources.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7780.c')
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7780.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c index 4dd6e3b94a67..57a3b870a276 100644 --- a/arch/sh/drivers/pci/pci-sh7780.c +++ b/arch/sh/drivers/pci/pci-sh7780.c | |||
@@ -34,7 +34,9 @@ static struct resource sh7785_mem_resource = { | |||
34 | static struct pci_channel sh7780_pci_controller = { | 34 | static struct pci_channel sh7780_pci_controller = { |
35 | .pci_ops = &sh4_pci_ops, | 35 | .pci_ops = &sh4_pci_ops, |
36 | .mem_resource = &sh7785_mem_resource, | 36 | .mem_resource = &sh7785_mem_resource, |
37 | .mem_offset = 0x00000000, | ||
37 | .io_resource = &sh7785_io_resource, | 38 | .io_resource = &sh7785_io_resource, |
39 | .io_offset = 0x00000000, | ||
38 | }; | 40 | }; |
39 | 41 | ||
40 | static struct sh4_pci_address_map sh7780_pci_map = { | 42 | static struct sh4_pci_address_map sh7780_pci_map = { |