X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=arch%2Fmips%2Finclude%2Fasm%2Fpci.h;h=053e4634acee61b78ca8e3d4cd2fded4c4e2aa06;hb=98873f53becea9a8a46972ff252e96fe575b120d;hp=5510c53b7feb7f5b7d2e721b70c763d055f8ef0d;hpb=bbeba4c35c252b2e961f09ce6ebe76b2cd5e7e3e;p=linux-2.6-omap-h63xx.git diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index 5510c53b7fe..053e4634ace 100644 --- a/arch/mips/include/asm/pci.h +++ b/arch/mips/include/asm/pci.h @@ -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.