]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/include/asm/pci.h
MIPS: Better than nothing implementation of PCI mmap to fix X.
[linux-2.6-omap-h63xx.git] / arch / mips / include / asm / pci.h
index 5510c53b7feb7f5b7d2e721b70c763d055f8ef0d..053e4634acee61b78ca8e3d4cd2fded4c4e2aa06 100644 (file)
@@ -79,6 +79,11 @@ static inline void pcibios_penalize_isa_irq(int irq, int active)
        /* We don't do dynamic PCI IRQ allocation */
 }
 
+#define HAVE_PCI_MMAP
+
+extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
+       enum pci_mmap_state mmap_state, int write_combine);
+
 /*
  * Dynamic DMA mapping stuff.
  * MIPS has everything mapped statically.