summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/pci.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-20 18:42:00 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-04-20 18:42:00 +0900
commit09cfeb133e3cac39b8b9a2cb1d8ab4f77e396248 (patch)
treee74554cadc6e60ebe1243e1297d90fd4ac4c2a2b /arch/sh/include/asm/pci.h
parente79066a659b893debe19010179d3f3f015d76d1c (diff)
downloadlinux-09cfeb133e3cac39b8b9a2cb1d8ab4f77e396248.tar.bz2
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.h3
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 {
struct resource *io_resource;
struct resource *mem_resource;
+ unsigned long io_offset;
+ unsigned long mem_offset;
+
int first_devfn;
int last_devfn;
int enabled;