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

@@ -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;