diff options
Diffstat (limited to 'include/asm-x86_64/pci.h')
-rw-r--r-- | include/asm-x86_64/pci.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/include/asm-x86_64/pci.h b/include/asm-x86_64/pci.h index 8712520ca47f..9c4527eb55e2 100644 --- a/include/asm-x86_64/pci.h +++ b/include/asm-x86_64/pci.h | |||
@@ -22,18 +22,16 @@ extern unsigned int pcibios_assign_all_busses(void); | |||
22 | extern int no_iommu, force_iommu; | 22 | extern int no_iommu, force_iommu; |
23 | 23 | ||
24 | extern unsigned long pci_mem_start; | 24 | extern unsigned long pci_mem_start; |
25 | #define PCIBIOS_MIN_IO 0x1000 | 25 | #define PCIBIOS_MIN_IO 0x4000 |
26 | #define PCIBIOS_MIN_MEM (pci_mem_start) | 26 | #define PCIBIOS_MIN_MEM (pci_mem_start) |
27 | 27 | ||
28 | #define PCIBIOS_MIN_CARDBUS_IO 0x4000 | ||
29 | |||
30 | void pcibios_config_init(void); | 28 | void pcibios_config_init(void); |
31 | struct pci_bus * pcibios_scan_root(int bus); | 29 | struct pci_bus * pcibios_scan_root(int bus); |
32 | extern int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int len, u32 *value); | 30 | extern int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int len, u32 *value); |
33 | extern int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value); | 31 | extern int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value); |
34 | 32 | ||
35 | void pcibios_set_master(struct pci_dev *dev); | 33 | void pcibios_set_master(struct pci_dev *dev); |
36 | void pcibios_penalize_isa_irq(int irq); | 34 | void pcibios_penalize_isa_irq(int irq, int active); |
37 | struct irq_routing_table *pcibios_get_irq_routing_table(void); | 35 | struct irq_routing_table *pcibios_get_irq_routing_table(void); |
38 | int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); | 36 | int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); |
39 | 37 | ||
@@ -123,6 +121,16 @@ pci_dac_dma_sync_single_for_device(struct pci_dev *pdev, dma64_addr_t dma_addr, | |||
123 | flush_write_buffers(); | 121 | flush_write_buffers(); |
124 | } | 122 | } |
125 | 123 | ||
124 | #ifdef CONFIG_PCI | ||
125 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, | ||
126 | enum pci_dma_burst_strategy *strat, | ||
127 | unsigned long *strategy_parameter) | ||
128 | { | ||
129 | *strat = PCI_DMA_BURST_INFINITY; | ||
130 | *strategy_parameter = ~0UL; | ||
131 | } | ||
132 | #endif | ||
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); |