]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/pci.h
[ARM] 4577/1: ITE 8152 PCI bridge support
[linux-2.6-omap-h63xx.git] / include / asm-arm / pci.h
index ed3f898191f4d4b0eeb347a3e47df5966b23c186..75feb1574a69050845f270f370566ee2b51d1b7b 100644 (file)
@@ -8,10 +8,17 @@
 
 #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)
 {