]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/pci.h
[SCSI] gdth: kill unneeded 'irq' argument
[linux-2.6-omap-h63xx.git] / include / asm-arm / pci.h
index ead3ced38cb8f4aa2b20cae06d982291f5dbeb6a..75feb1574a69050845f270f370566ee2b51d1b7b 100644 (file)
@@ -2,17 +2,23 @@
 #define ASMARM_PCI_H
 
 #ifdef __KERNEL__
-#include <linux/config.h>
 #include <asm-generic/pci-dma-compat.h>
 
 #include <asm/hardware.h> /* for PCIBIOS_MIN_* */
 
 #define pcibios_scan_all_fns(a, b)     0
 
+#ifdef CONFIG_PCI_HOST_ITE8152
+/* ITE bridge requires setting latency timer to avoid early bus access
+   termination by PIC bus mater devices
+*/
+extern void pcibios_set_master(struct pci_dev *dev);
+#else
 static inline void pcibios_set_master(struct pci_dev *dev)
 {
        /* No special bus mastering setup handling */
 }
+#endif
 
 static inline void pcibios_penalize_isa_irq(int irq, int active)
 {
@@ -26,11 +32,6 @@ static inline void pcibios_penalize_isa_irq(int irq, int active)
  */
 #define PCI_DMA_BUS_IS_PHYS     (0)
 
-/*
- * We don't support DAC DMA cycles.
- */
-#define pci_dac_dma_supported(pci_dev, mask)   (0)
-
 /*
  * Whether pci_unmap_{single,page} is a nop depends upon the
  * configuration.
@@ -77,10 +78,6 @@ pcibios_select_root(struct pci_dev *pdev, struct resource *res)
        return root;
 }
 
-static inline void pcibios_add_platform_entries(struct pci_dev *dev)
-{
-}
-
 #endif /* __KERNEL__ */
  
 #endif