diff options
Diffstat (limited to 'include/asm-x86_64/pci.h')
-rw-r--r-- | include/asm-x86_64/pci.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-x86_64/pci.h b/include/asm-x86_64/pci.h index 8712520ca47f..8461d6af102e 100644 --- a/include/asm-x86_64/pci.h +++ b/include/asm-x86_64/pci.h | |||
@@ -123,6 +123,14 @@ pci_dac_dma_sync_single_for_device(struct pci_dev *pdev, dma64_addr_t dma_addr, | |||
123 | flush_write_buffers(); | 123 | flush_write_buffers(); |
124 | } | 124 | } |
125 | 125 | ||
126 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, | ||
127 | enum pci_dma_burst_strategy *strat, | ||
128 | unsigned long *strategy_parameter) | ||
129 | { | ||
130 | *strat = PCI_DMA_BURST_INFINITY; | ||
131 | *strategy_parameter = ~0UL; | ||
132 | } | ||
133 | |||
126 | #define HAVE_PCI_MMAP | 134 | #define HAVE_PCI_MMAP |
127 | extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | 135 | extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, |
128 | enum pci_mmap_state mmap_state, int write_combine); | 136 | enum pci_mmap_state mmap_state, int write_combine); |