> Sent: dinsdag 14 februari 2012 23:04 > > On 02/14/2012 02:20 PM, Hauke Mehrtens wrote: > >> > I think it is more complicated than the above. On my 43224, I get > the > >> > message "No SPROM available", which arises because > bcma_sprom_get() is > >> > returning -ENOENT. The reason is that the value tested in "if > >> > (!(sromctrl& BCMA_CC_SROM_CONTROL_PRESENT))" is zero. The > contents of > >> > sromctl are 0x12, and the mask is 1. > > This check is the main part of ai_is_sprom_available() in brcmsmac. > If > > this check fails, like in your case, brcmsmac tries otp_read_pci() to > > read out the sprom, which is not implemented in bcma. > > I will try implementing a similar routine in bcma. > I started adding proper OTP support in BCMA, but I am currently working on async firmware loading feature. Different chipsets can either have an external SPROM or on-chip OTP. Some have both, but only one holds the data. Gr. AvS ��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f