On Jun 2, 2011 4:52 PM, "Arend van Spriel" <[email protected]> wrote: > > On 06/02/2011 02:08 AM, Rafał Miłecki wrote: >> >> In case of BCMA cards SPROM is located in the ChipCommon core, it is >> not mapped as separated host window. So far we have met only SPROMs rev >> 8. >> SPROM layout seems to be the same as for SSB buses, so we decided to >> share SPROM struct and some defines. >> For now we extract MAC address only, this can be improved of course. >> >> Signed-off-by: Rafał Miłecki<[email protected]> >> >> +/************************************************** >> + * Validation. >> + **************************************************/ >> + >> +static inline u8 bcma_crc8(u8 crc, u8 data) >> +{ > > > 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).
Absolutely! I've already said that in discussion about crc8.
_______________________________________________ b43-dev mailing list [email protected] http://lists.infradead.org/mailman/listinfo/b43-dev
