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:
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user