Re: [PATCH 13/18] brcmsmac: add some workarounds for other chips again
From: Jonas Gorski <jonas.gorski@gmail.com>
Date: 2012-06-08 17:49:55
On 8 June 2012 18:54, Arend van Spriel [off-list ref] wrote:
On 06/08/2012 01:31 PM, Jonas Gorski wrote:quoted
0x2057). I did not try brcmsmac, since it didn't even use bcma at that time. It probably needs some more special handling, as there is an OTP core present, and my gut feeling says the wifi driver needs/uses it, but since I don't have sources for the proprietary driver I can't really check this ;).brcmsmac had OTP code, but I added OTP processing to BCMA. It is daily tested on powerpc64 so that should work.
Maybe it isn't needed by the wifi, though it has a bit that says whether wifi is available. The wifi driver itself seems to include an sprom for bcm6362 though, so it's likely a red herring.
quoted
TL;DR: BCM6362 isn't real bcma, so it's unlikely the bcma code will ever see it (unless the translation hacks get accepted ;). Feel free to drop any BCM6362 handling here. @Arend: Which probably also means that brcm{s,f]mac will likely never support it, right? :-/What silicon backplane does it have? Sonics? I tried to look it up, but did not find the info.
It's neither bcma nor ssb, but ubus, the bcm63xx silicon backplane. You should find the appropriate ub_scan, ub_flag, etc functions in the proprietary driver as the third backplane type supported by it. The public parts only have them as empty functions, but still reference them.
Do you know the chip revision of your bcm6362?
IIRC b0 (haven't booted it in the last few weeks, currently busy with bcm6328 stuff - one chip at a time ;). Since recent bcm63xx LDKs removed the a0 register layouts it looks like the a0 revision never actually made it into a product. Jonas