]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/pci.h
[PATCH] PCI: DMA bursting advice
[linux-2.6-omap-h63xx.git] / include / asm-i386 / pci.h
index fb749b85a739675b804bc5a3baf07b7a4d574827..bf07b3af85e375dbc8850aadf0569c652a2c4114 100644 (file)
@@ -99,6 +99,14 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
 {
 }
 
+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;
+}
+
 #endif /* __KERNEL__ */
 
 /* implement the pci_ DMA API in terms of the generic device dma_ one */