<p><br>
On Jun 2, 2011 4:52 PM, "Arend van Spriel" <<a href="mailto:arend@broadcom.com">arend@broadcom.com</a>> wrote:<br>
><br>
> On 06/02/2011 02:08 AM, Rafał Miłecki wrote:<br>
>><br>
>> In case of BCMA cards SPROM is located in the ChipCommon core, it is<br>
>> not mapped as separated host window. So far we have met only SPROMs rev<br>
>> 8.<br>
>> SPROM layout seems to be the same as for SSB buses, so we decided to<br>
>> share SPROM struct and some defines.<br>
>> For now we extract MAC address only, this can be improved of course.<br>
>><br>
>> Signed-off-by: Rafał Miłecki<<a href="mailto:zajec5@gmail.com">zajec5@gmail.com</a>><br>
>><br>
>> +/**************************************************<br>
>> + * Validation.<br>
>> + **************************************************/<br>
>> +<br>
>> +static inline u8 bcma_crc8(u8 crc, u8 data)<br>
>> +{<br>
><br>
><br>
> Somehow this crc8 looks quite familiar to me ;-) I send out a patch to John providing a crc8 as library module so you could consider using that. It will probably end up in wireless-testing before this patch (if accepted that is).</p>
<p>Absolutely! I've already said that in discussion about crc8.<br>
</p>