diff options
Diffstat (limited to 'include/asm-ia64/pci.h')
-rw-r--r-- | include/asm-ia64/pci.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-ia64/pci.h b/include/asm-ia64/pci.h index 825eb7d882e6..5160233bbfac 100644 --- a/include/asm-ia64/pci.h +++ b/include/asm-ia64/pci.h | |||
@@ -78,9 +78,6 @@ pcibios_penalize_isa_irq (int irq, int active) | |||
78 | #define pci_dac_dma_sync_single_for_cpu(dev,dma_addr,len,dir) do { } while (0) | 78 | #define pci_dac_dma_sync_single_for_cpu(dev,dma_addr,len,dir) do { } while (0) |
79 | #define pci_dac_dma_sync_single_for_device(dev,dma_addr,len,dir) do { mb(); } while (0) | 79 | #define pci_dac_dma_sync_single_for_device(dev,dma_addr,len,dir) do { mb(); } while (0) |
80 | 80 | ||
81 | #define sg_dma_len(sg) ((sg)->dma_length) | ||
82 | #define sg_dma_address(sg) ((sg)->dma_address) | ||
83 | |||
84 | #ifdef CONFIG_PCI | 81 | #ifdef CONFIG_PCI |
85 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, | 82 | static inline void pci_dma_burst_advice(struct pci_dev *pdev, |
86 | enum pci_dma_burst_strategy *strat, | 83 | enum pci_dma_burst_strategy *strat, |
@@ -170,4 +167,10 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res) | |||
170 | 167 | ||
171 | #define pcibios_scan_all_fns(a, b) 0 | 168 | #define pcibios_scan_all_fns(a, b) 0 |
172 | 169 | ||
170 | #define HAVE_ARCH_PCI_GET_LEGACY_IDE_IRQ | ||
171 | static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | ||
172 | { | ||
173 | return channel ? 15 : 14; | ||
174 | } | ||
175 | |||
173 | #endif /* _ASM_IA64_PCI_H */ | 176 | #endif /* _ASM_IA64_PCI_H */ |