b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: "Rafał Miłecki" <zajec5@gmail.com>
To: b43-dev@lists.infradead.org
Subject: [PATCH] bcma: read SPROM and extract MAC from it
Date: Thu, 2 Jun 2011 21:30:48 +0200	[thread overview]
Message-ID: <BANLkTi=OPXYBHC-S1Zk2Qbfh6gOXTf-JrQ@mail.gmail.com> (raw)

On Jun 2, 2011 4:52 PM, "Arend van Spriel" <arend@broadcom.com> 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<zajec5@gmail.com>
>>
>> +/**************************************************
>> + * 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20110602/fa72d4f3/attachment.html>

             reply	other threads:[~2011-06-02 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02 19:30 Rafał Miłecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-06-02  0:08 [PATCH] bcma: read SPROM and extract MAC from it Rafał Miłecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTi=OPXYBHC-S1Zk2Qbfh6gOXTf-JrQ@mail.gmail.com' \
    --to=zajec5@gmail.com \
    --cc=b43-dev@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).