diff options
Diffstat (limited to 'include/asm-i386/pci.h')
| -rw-r--r-- | include/asm-i386/pci.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-i386/pci.h b/include/asm-i386/pci.h index fb749b85a739..3561899eb826 100644 --- a/include/asm-i386/pci.h +++ b/include/asm-i386/pci.h | |||
| @@ -99,6 +99,16 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev) | |||
| 99 | { | 99 | { |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | #ifdef CONFIG_PCI | ||
| 103 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, | ||
| 104 | enum pci_dma_burst_strategy *strat, | ||
| 105 | unsigned long *strategy_parameter) | ||
| 106 | { | ||
| 107 | *strat = PCI_DMA_BURST_INFINITY; | ||
| 108 | *strategy_parameter = ~0UL; | ||
| 109 | } | ||
| 110 | #endif | ||
| 111 | |||
| 102 | #endif /* __KERNEL__ */ | 112 | #endif /* __KERNEL__ */ |
| 103 | 113 | ||
| 104 | /* implement the pci_ DMA API in terms of the generic device dma_ one */ | 114 | /* implement the pci_ DMA API in terms of the generic device dma_ one */ |
