aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/pci.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-20 02:51:45 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-04-20 02:51:45 -0400
commit9833385131fc4e8c52f95320ab899051d1c06831 (patch)
treeb293094ef57c340e196bae1a79ab061b2f93df46 /arch/sh/include/asm/pci.h
parent4c5107e44514a9bde74d0af77982705d602d9e39 (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.h3
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
41struct pci_dev; 41struct pci_dev;
42 42
43#define HAVE_PCI_MMAP
44extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma,
45 enum pci_mmap_state mmap_state, int write_combine);
43extern void pcibios_set_master(struct pci_dev *dev); 46extern void pcibios_set_master(struct pci_dev *dev);
44 47
45static inline void pcibios_penalize_isa_irq(int irq, int active) 48static inline void pcibios_penalize_isa_irq(int irq, int active)