summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/pci.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-12-07 15:35:43 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-02-18 21:31:34 +0000
commit140c1729a221dc6eacfcbf2a073dbf00fad13e43 (patch)
treeb6baff7c6e68f7ca45aacded88b02ccb5f2cd286 /include/asm-mips/pci.h
parent4c1569949a756327aa0ad7aa15a62266b6a00c3e (diff)
downloadlinux-140c1729a221dc6eacfcbf2a073dbf00fad13e43.tar.gz
linux-140c1729a221dc6eacfcbf2a073dbf00fad13e43.tar.bz2
linux-140c1729a221dc6eacfcbf2a073dbf00fad13e43.zip
[MIPS] Iomap implementation.
This implementation has support for the concept of one separate ioport address space by PCI domain. A pointer to the virtual address where the port space of a domain has been mapped has been added to struct pci_controller and systems should be fixed to fill in this value. For single domain systems this will be the same value as passed to set_io_port_base(). Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/pci.h')
-rw-r--r--include/asm-mips/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-mips/pci.h b/include/asm-mips/pci.h
index 7f0f120ca07c..3eea3ba0fca5 100644
--- a/include/asm-mips/pci.h
+++ b/include/asm-mips/pci.h
@@ -32,6 +32,7 @@ struct pci_controller {
unsigned long mem_offset;
struct resource *io_resource;
unsigned long io_offset;
+ unsigned long io_map_base;
unsigned int index;
/* For compatibility with current (as of July 2003) pciutils