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/include/asm/pci.h | |
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/include/asm/pci.h')
-rw-r--r-- | arch/sh/include/asm/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/include/asm/pci.h b/arch/sh/include/asm/pci.h index e057ebdb4618..0be20521a1fe 100644 --- a/arch/sh/include/asm/pci.h +++ b/arch/sh/include/asm/pci.h | |||
@@ -25,6 +25,9 @@ struct pci_channel { | |||
25 | struct resource *io_resource; | 25 | struct resource *io_resource; |
26 | struct resource *mem_resource; | 26 | struct resource *mem_resource; |
27 | 27 | ||
28 | unsigned long io_offset; | ||
29 | unsigned long mem_offset; | ||
30 | |||
28 | int first_devfn; | 31 | int first_devfn; |
29 | int last_devfn; | 32 | int last_devfn; |
30 | int enabled; | 33 | int enabled; |