diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 02:51:45 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-20 02:51:45 -0400 |
commit | 9833385131fc4e8c52f95320ab899051d1c06831 (patch) | |
tree | b293094ef57c340e196bae1a79ab061b2f93df46 /arch/sh/include/asm/pci.h | |
parent | 4c5107e44514a9bde74d0af77982705d602d9e39 (diff) |
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[]; | |||
40 | 40 | ||
41 | struct pci_dev; | 41 | struct pci_dev; |
42 | 42 | ||
43 | #define HAVE_PCI_MMAP | ||
44 | extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | ||
45 | enum pci_mmap_state mmap_state, int write_combine); | ||
43 | extern void pcibios_set_master(struct pci_dev *dev); | 46 | extern void pcibios_set_master(struct pci_dev *dev); |
44 | 47 | ||
45 | static inline void pcibios_penalize_isa_irq(int irq, int active) | 48 | static inline void pcibios_penalize_isa_irq(int irq, int active) |