summaryrefslogtreecommitdiff
path: root/target/linux/brcm-2.4/files/arch/mips
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-08 13:39:34 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-09-08 13:39:34 +0000
commitc8bff13a7489ad82aef06e6f68cd5ef35ffb2a7d (patch)
tree8ea1325fd1c68e4e7e5ac841e1da775ca87fc054 /target/linux/brcm-2.4/files/arch/mips
parentf8bae64622229988648c5121c60eb7ef252e6859 (diff)
fix pci init for brcm-2.4 with atheros wifi cards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8690 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4/files/arch/mips')
-rw-r--r--target/linux/brcm-2.4/files/arch/mips/bcm947xx/pcibios.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/files/arch/mips/bcm947xx/pcibios.c b/target/linux/brcm-2.4/files/arch/mips/bcm947xx/pcibios.c
index 012009a91a..8c8f6aab59 100644
--- a/target/linux/brcm-2.4/files/arch/mips/bcm947xx/pcibios.c
+++ b/target/linux/brcm-2.4/files/arch/mips/bcm947xx/pcibios.c
@@ -143,6 +143,7 @@ pcibios_init(void)
spin_unlock_irqrestore(&sbh_lock, flags);
set_io_port_base((unsigned long) ioremap_nocache(SB_PCI_MEM, 0x04000000));
+ mdelay(300); /* workaround for atheros cards */
/* Scan the SB bus */
pci_scan_bus(0, &pcibios_ops, NULL);