summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-09-08 13:39:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-09-08 13:39:34 +0000
commit75f1024d48f8ce5e559af3c93274c19434134e17 (patch)
tree706817f59d39601a3e2fd3a90570dd212237e259 /target/linux
parent8505138db89c0098847a06f5a7ac94ef74994e0a (diff)
downloadmtk-20170518-75f1024d48f8ce5e559af3c93274c19434134e17.zip
mtk-20170518-75f1024d48f8ce5e559af3c93274c19434134e17.tar.gz
mtk-20170518-75f1024d48f8ce5e559af3c93274c19434134e17.tar.bz2
fix pci init for brcm-2.4 with atheros wifi cards
SVN-Revision: 8690
Diffstat (limited to 'target/linux')
-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 012009a..8c8f6aa 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);