Linux wireless drivers development
 help / color / mirror / Atom feed
From: Luciano Coelho <coelho@ti.com>
To: Julian Calaby <julian.calaby@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/2] wl12xx: add operation to retrieve the MAC address from Fuse ROM
Date: Tue, 17 Jan 2012 06:02:24 +0200	[thread overview]
Message-ID: <1326772944.4598.67.camel@cumari> (raw)
In-Reply-To: <CAGRGNgWjCYsyzWCn0-j-A7Cqv2Prdftzxvu6WkjMzOdvOxcunA@mail.gmail.com>

On Tue, 2012-01-17 at 14:51 +1100, Julian Calaby wrote: 
> On Tue, Jan 17, 2012 at 14:48, Luciano Coelho <coelho@ti.com> wrote:
> > On Tue, 2012-01-17 at 11:46 +1100, Julian Calaby wrote:
> >> > +               /* in wl127x we have the MAC address if the PG is >= (3, 1) */
> >> > +               if (major == 3 && minor >= 1)
> >>
> >> Is this test correct? Do only major == 3 PGs support this command?
> >
> > Yes, major == 3 and minor greater than or equal to 1.  Actually, there
> > can't be a major greater than 3, because it's only 2 bits, so 3 is the
> > maximum value.
> 
> Just wanted to check as it seemed odd compared to the block for the
> WL128X parts. I'm guessing TI never expected these parts to last long
> enough to have more than 3 major revisions =)

Yeah, and 16 HW revisions in total is usually more than enough.  And, if
really needed, there may be some bits elsewhere to be used.

I understand your point and I actually had a similar check as for
wl128x, but then I realized the "major >= 3" was useless and removed it.

Thanks for looking into this! :)

-- 
Cheers,
Luca.


      reply	other threads:[~2012-01-17  4:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 14:23 [PATCH 0/2] wl12xx: read MAC from fuse rom Luciano Coelho
2012-01-16 14:23 ` [PATCH 1/2] wl12xx: move partition table definition to io.c Luciano Coelho
2012-01-16 14:23 ` [PATCH 2/2] wl12xx: add operation to retrieve the MAC address from Fuse ROM Luciano Coelho
2012-01-17  0:46   ` Julian Calaby
2012-01-17  3:48     ` Luciano Coelho
2012-01-17  3:51       ` Julian Calaby
2012-01-17  4:02         ` Luciano Coelho [this message]

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=1326772944.4598.67.camel@cumari \
    --to=coelho@ti.com \
    --cc=julian.calaby@gmail.com \
    --cc=linux-wireless@vger.kernel.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