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:
@@ -25,6 +25,9 @@ struct pci_channel {
|
||||
struct resource *io_resource;
|
||||
struct resource *mem_resource;
|
||||
|
||||
unsigned long io_offset;
|
||||
unsigned long mem_offset;
|
||||
|
||||
int first_devfn;
|
||||
int last_devfn;
|
||||
int enabled;
|
||||
|
Reference in New Issue
Block a user