diff options
Diffstat (limited to 'arch/powerpc/include/asm/pci.h')
-rw-r--r-- | arch/powerpc/include/asm/pci.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h index 93eded8d3843..c8975dac535f 100644 --- a/arch/powerpc/include/asm/pci.h +++ b/arch/powerpc/include/asm/pci.h | |||
@@ -77,12 +77,11 @@ extern int pci_domain_nr(struct pci_bus *bus); | |||
77 | extern int pci_proc_domain(struct pci_bus *bus); | 77 | extern int pci_proc_domain(struct pci_bus *bus); |
78 | 78 | ||
79 | struct vm_area_struct; | 79 | struct vm_area_struct; |
80 | /* Map a range of PCI memory or I/O space for a device into user space */ | ||
81 | int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma, | ||
82 | enum pci_mmap_state mmap_state, int write_combine); | ||
83 | 80 | ||
84 | /* Tell drivers/pci/proc.c that we have pci_mmap_page_range() */ | 81 | /* Tell drivers/pci/proc.c that we have pci_mmap_page_range() and it does WC */ |
85 | #define HAVE_PCI_MMAP 1 | 82 | #define HAVE_PCI_MMAP 1 |
83 | #define arch_can_pci_mmap_io() 1 | ||
84 | #define arch_can_pci_mmap_wc() 1 | ||
86 | 85 | ||
87 | extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, | 86 | extern int pci_legacy_read(struct pci_bus *bus, loff_t port, u32 *val, |
88 | size_t count); | 87 | size_t count); |