From c8bff13a7489ad82aef06e6f68cd5ef35ffb2a7d Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 8 Sep 2007 13:39:34 +0000 Subject: [PATCH] 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 --- target/linux/brcm-2.4/files/arch/mips/bcm947xx/pcibios.c | 1 + 1 file changed, 1 insertion(+) 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 012009a91..8c8f6aab5 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);