fix pci init for brcm-2.4 with atheros wifi cards
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Sep 2007 13:39:34 +0000 (13:39 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 8 Sep 2007 13:39:34 +0000 (13:39 +0000)
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

index 012009a..8c8f6aa 100644 (file)
@@ -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);