aboutsummaryrefslogtreecommitdiffstats
path: root/target
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
commit3db862b60e62c7547285914a24d9460992e21f7f (patch)
tree8ea1325fd1c68e4e7e5ac841e1da775ca87fc054 /target
parent07e18bec1cd4b2b12a5c9ee65c29bf5194a4f051 (diff)
downloadmaster-187ad058-3db862b60e62c7547285914a24d9460992e21f7f.tar.gz
master-187ad058-3db862b60e62c7547285914a24d9460992e21f7f.tar.bz2
master-187ad058-3db862b60e62c7547285914a24d9460992e21f7f.zip
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')
-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);