aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc/pci.h')
-rw-r--r--include/asm-ppc/pci.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-ppc/pci.h b/include/asm-ppc/pci.h
index 002e7b305777..669e9de7a525 100644
--- a/include/asm-ppc/pci.h
+++ b/include/asm-ppc/pci.h
@@ -69,6 +69,14 @@ extern unsigned long pci_bus_to_phys(unsigned int ba, int busnr);
69#define pci_unmap_len(PTR, LEN_NAME) (0) 69#define pci_unmap_len(PTR, LEN_NAME) (0)
70#define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0) 70#define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0)
71 71
72static inline void pci_dma_burst_advice(struct pci_dev *pdev,
73 enum pci_dma_burst_strategy *strat,
74 unsigned long *strategy_parameter)
75{
76 *strat = PCI_DMA_BURST_INFINITY;
77 *strategy_parameter = ~0UL;
78}
79
72/* 80/*
73 * At present there are very few 32-bit PPC machines that can have 81 * At present there are very few 32-bit PPC machines that can have
74 * memory above the 4GB point, and we don't support that. 82 * memory above the 4GB point, and we don't support that.