From: Larry Finger <Larry.Finger@lwfinger.net>
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/2] b43: implement timeouts workaround
Date: Tue, 10 May 2011 18:42:05 -0500 [thread overview]
Message-ID: <4DC9CD4D.6060002@lwfinger.net> (raw)
In-Reply-To: <1305072659-4011-2-git-send-email-zajec5@gmail.com>
On 05/10/2011 07:10 PM, Rafa? Mi?ecki wrote:
> Documented in:<4BB81CAD.10602@lwfinger.net>
This reference is not correct.
Larry
>
> Signed-off-by: Rafa? Mi?ecki<zajec5@gmail.com>
> ---
> drivers/net/wireless/b43/main.c | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
> index fd8bd98..88bfd29 100644
> --- a/drivers/net/wireless/b43/main.c
> +++ b/drivers/net/wireless/b43/main.c
> @@ -4213,7 +4213,18 @@ static void b43_bluetooth_coext_disable(struct b43_wldev *dev)
>
> static void b43_imcfglo_timeouts_workaround(struct b43_wldev *dev)
> {
> - /* TODO: implement 80211 core workaround here */
> + struct ssb_bus *bus = dev->dev->bus;
> + u32 tmp;
> +
> + if ((bus->chip_id == 0x4311&& bus->chip_rev == 2) ||
> + (bus->chip_id == 0x4312)) {
> + tmp = ssb_read32(dev->dev, SSB_IMCFGLO);
> + tmp&= ~SSB_IMCFGLO_REQTO;
> + tmp&= ~SSB_IMCFGLO_SERTO;
> + tmp |= 0x3;
> + ssb_write32(dev->dev, SSB_IMCFGLO, tmp);
> + ssb_commit_settings(bus);
> + }
> }
>
> static void b43_set_synth_pu_delay(struct b43_wldev *dev, bool idle)
WARNING: multiple messages have this Message-ID (diff)
From: Larry Finger <Larry.Finger@lwfinger.net>
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: Re: [PATCH 2/2] b43: implement timeouts workaround
Date: Tue, 10 May 2011 18:42:05 -0500 [thread overview]
Message-ID: <4DC9CD4D.6060002@lwfinger.net> (raw)
In-Reply-To: <1305072659-4011-2-git-send-email-zajec5@gmail.com>
On 05/10/2011 07:10 PM, Rafał Miłecki wrote:
> Documented in:<4BB81CAD.10602@lwfinger.net>
This reference is not correct.
Larry
>
> Signed-off-by: Rafał Miłecki<zajec5@gmail.com>
> ---
> drivers/net/wireless/b43/main.c | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
> index fd8bd98..88bfd29 100644
> --- a/drivers/net/wireless/b43/main.c
> +++ b/drivers/net/wireless/b43/main.c
> @@ -4213,7 +4213,18 @@ static void b43_bluetooth_coext_disable(struct b43_wldev *dev)
>
> static void b43_imcfglo_timeouts_workaround(struct b43_wldev *dev)
> {
> - /* TODO: implement 80211 core workaround here */
> + struct ssb_bus *bus = dev->dev->bus;
> + u32 tmp;
> +
> + if ((bus->chip_id == 0x4311&& bus->chip_rev == 2) ||
> + (bus->chip_id == 0x4312)) {
> + tmp = ssb_read32(dev->dev, SSB_IMCFGLO);
> + tmp&= ~SSB_IMCFGLO_REQTO;
> + tmp&= ~SSB_IMCFGLO_SERTO;
> + tmp |= 0x3;
> + ssb_write32(dev->dev, SSB_IMCFGLO, tmp);
> + ssb_commit_settings(bus);
> + }
> }
>
> static void b43_set_synth_pu_delay(struct b43_wldev *dev, bool idle)
next prev parent reply other threads:[~2011-05-10 23:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 0:10 [PATCH 1/2] ssb: move ssb_commit_settings and export it Rafał Miłecki
2011-05-11 0:10 ` Rafał Miłecki
2011-05-11 0:10 ` [PATCH 2/2] b43: implement timeouts workaround Rafał Miłecki
2011-05-11 0:10 ` Rafał Miłecki
2011-05-10 23:42 ` Larry Finger [this message]
2011-05-10 23:42 ` Larry Finger
2011-05-10 23:56 ` Rafał Miłecki
2011-05-10 23:56 ` Rafał Miłecki
2011-05-11 0:12 ` Larry Finger
2011-05-11 0:12 ` Larry Finger
2011-05-11 7:35 ` Rafał Miłecki
2011-05-11 7:35 ` Rafał Miłecki
2011-05-11 12:17 ` Larry Finger
2011-05-11 12:17 ` Larry Finger
2011-05-11 12:31 ` Michael Büsch
2011-05-11 12:31 ` Michael Büsch
2011-05-11 13:06 ` Larry Finger
2011-05-11 13:06 ` Larry Finger
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=4DC9CD4D.6060002@lwfinger.net \
--to=larry.finger@lwfinger.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.