aboutsummaryrefslogtreecommitdiff
path: root/include/asm-frv/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-frv/pci.h')
-rw-r--r--include/asm-frv/pci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-frv/pci.h b/include/asm-frv/pci.h
index a6a469231f6..13427240664 100644
--- a/include/asm-frv/pci.h
+++ b/include/asm-frv/pci.h
@@ -57,6 +57,14 @@ extern void pci_free_consistent(struct pci_dev *hwdev, size_t size,
*/
#define PCI_DMA_BUS_IS_PHYS (1)
+static inline void pci_dma_burst_advice(struct pci_dev *pdev,
+ enum pci_dma_burst_strategy *strat,
+ unsigned long *strategy_parameter)
+{
+ *strat = PCI_DMA_BURST_INFINITY;
+ *strategy_parameter = ~0UL;
+}
+
/*
* These are pretty much arbitary with the CoMEM implementation.
* We have the whole address space to ourselves.