summaryrefslogtreecommitdiff
path: root/include/asm-arm/pci.h
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2007-09-23 15:59:52 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-10-15 18:53:59 +0100
commita8fc0789558d81d2898b87473404b71b7f7cd0fc (patch)
tree90294fc683be115d5c7bae3c7aed5916d0ad7db7 /include/asm-arm/pci.h
parent3696a8a426f8caebd97463e9b5cf9f06c1c36759 (diff)
[ARM] 4577/1: ITE 8152 PCI bridge support
This patch provides driver for ITE 8152 PCI bridge. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/pci.h')
-rw-r--r--include/asm-arm/pci.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-arm/pci.h b/include/asm-arm/pci.h
index ed3f898191f4..75feb1574a69 100644
--- a/include/asm-arm/pci.h
+++ b/include/asm-arm/pci.h
@@ -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)
{