diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 10:51:45 +0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 10:51:45 +0400 |
commit | 9833385131fc4e8c52f95320ab899051d1c06831 (patch) | |
tree | b293094ef57c340e196bae1a79ab061b2f93df46 /arch/sh/include/asm/pci.h | |
parent | 4c5107e44514a9bde74d0af77982705d602d9e39 (diff) | |
download | linux-9833385131fc4e8c52f95320ab899051d1c06831.tar.xz |
sh: pci: HAVE_PCI_MMAP support.
Derived from the MIPS version, now uses pgprot_noncached().
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 69cb615c3916..46afd449739d 100644 --- a/arch/sh/include/asm/pci.h +++ b/arch/sh/include/asm/pci.h @@ -40,6 +40,9 @@ extern struct pci_channel board_pci_channels[]; struct pci_dev; +#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); extern void pcibios_set_master(struct pci_dev *dev); static inline void pcibios_penalize_isa_irq(int irq, int active) |