public inbox for b43-dev@lists.infradead.org
 help / color / mirror / Atom feed
From: Peter Stuge <peter@stuge.se>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: linux-wireless@vger.kernel.org,
	"John W. Linville" <linville@tuxdriver.com>,
	b43-dev@lists.infradead.org
Subject: [PATCH 2/3] bcma: SPROM: add macro for easier extraction
Date: Mon, 2 Jan 2012 13:20:18 +0100	[thread overview]
Message-ID: <20120102122018.30057.qmail@stuge.se> (raw)
In-Reply-To: <1325490085-3806-2-git-send-email-zajec5@gmail.com>

Rafa? Mi?ecki wrote:
> +#define SPEX(_field, _offset, _mask, _shift)	\
> +	bus->sprom._field = ((sprom[SPOFF(_offset)] & (_mask)) >> (_shift))

Maybe this should take at least bus as parameter too?


//Peter

  reply	other threads:[~2012-01-02 12:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-02  7:41 [PATCH 1/3] ssb: SPROM: extract each core power info Rafał Miłecki
2012-01-02  7:41 ` [PATCH 2/3] bcma: SPROM: add macro for easier extraction Rafał Miłecki
2012-01-02 12:20   ` Peter Stuge [this message]
2012-01-02 12:39     ` Rafał Miłecki
2012-01-02 12:41     ` Rafał Miłecki
2012-01-02  7:41 ` [PATCH 3/3] bcma: SPROM: extract power info for cores 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=20120102122018.30057.qmail@stuge.se \
    --to=peter@stuge.se \
    --cc=b43-dev@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=zajec5@gmail.com \
    /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