fix pci init for brcm-2.4 with atheros wifi cards
authorFelix Fietkau <nbd@openwrt.org>
Sat, 8 Sep 2007 13:39:34 +0000 (13:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 8 Sep 2007 13:39:34 +0000 (13:39 +0000)
SVN-Revision: 8690

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);