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>
This commit is contained in:
Paul Mundt
2009-04-20 18:42:00 +09:00
parent e79066a659
commit 09cfeb133e
3 changed files with 14 additions and 9 deletions

View File

@@ -34,7 +34,9 @@ static struct resource sh7785_mem_resource = {
static struct pci_channel sh7780_pci_controller = {
.pci_ops = &sh4_pci_ops,
.mem_resource = &sh7785_mem_resource,
.mem_offset = 0x00000000,
.io_resource = &sh7785_io_resource,
.io_offset = 0x00000000,
};
static struct sh4_pci_address_map sh7780_pci_map = {