1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 02:48:26 +02:00

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
This commit is contained in:
nbd 2007-09-08 13:39:34 +00:00
parent f8bae64622
commit c8bff13a74

View File

@ -143,6 +143,7 @@ pcibios_init(void)
spin_unlock_irqrestore(&sbh_lock, flags); spin_unlock_irqrestore(&sbh_lock, flags);
set_io_port_base((unsigned long) ioremap_nocache(SB_PCI_MEM, 0x04000000)); set_io_port_base((unsigned long) ioremap_nocache(SB_PCI_MEM, 0x04000000));
mdelay(300); /* workaround for atheros cards */
/* Scan the SB bus */ /* Scan the SB bus */
pci_scan_bus(0, &pcibios_ops, NULL); pci_scan_bus(0, &pcibios_ops, NULL);