Hello Around line 583 in drivers/sbb/scan.c, there should be an if (bus->chip_rev >=4). Could you remove the if and always execute the code which assigns bus->nr_devices? This shouldn't be a problem, because the bits for the device number should be zero on cores which don't support it. I can also provide a new patch, if you like it better.
Bernhard 2010/5/13 Hauke Mehrtens <ha...@hauke-m.de>: > Am 13.05.2010 01:08, schrieb Bernhard Loos: >> Sorry, I goofed up while porting the patch to latest trunk, as I did >> develop this on an older svn revision. >> The line should be ssb_chipco_pll_write(cc, 0xa, 0x380005C0); >> >> Bernhard > Hi Bernhard, > > Now it compiles for me. > > I have just installed it on my Asus WL-500GP v1 and it boots and > Ethernet is working, but wireless is not working any more. > > I found some differences in the dmesg output: > > Without your patches (working): > PCI: Setting latency timer of device 0000:00:02.0 to 64 > ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243) > ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243) > ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243) > ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243) > ssb: SPROM revision 2 detected. > ssb: Sonics Silicon Backplane found on PCI device 0000:00:02.0 > NET: Registered protocol family 2 > > With your patches (not working): > PCI: Setting latency timer of device 0000:00:02.0 to 64 > ssb: CHIPID not in nrcores fallback list > ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243) > ssb: SPROM revision 2 detected. > ssb: Sonics Silicon Backplane found on PCI device 0000:00:02.0 > NET: Registered protocol family 2 > > The full dmesg output can be found here: > http://hauke-m.de/fileadmin/openwrt/brcm47xx-log/boot-working.log > http://hauke-m.de/fileadmin/openwrt/brcm47xx-log/boot-not-working.log > > Hauke > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel