From: Gertjan van Wingerde <gwingerde@gmail.com>
To: Jakub Kicinski <kubakici@wp.pl>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org,
users@rt2x00.serialmonkey.com
Subject: Re: [PATCH 4/4] rt2x00: zero registers of unused TX rings
Date: Tue, 27 Mar 2012 20:13:10 +0200 [thread overview]
Message-ID: <4F720336.1030308@gmail.com> (raw)
In-Reply-To: <1332859867-27921-5-git-send-email-kubakici@wp.pl>
On 03/27/12 16:51, Jakub Kicinski wrote:
> This is needed if we take over after drivers which use those.
>
> Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
> ---
> drivers/net/wireless/rt2x00/rt2800pci.c | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c
> index f39587b..1d24124 100644
> --- a/drivers/net/wireless/rt2x00/rt2800pci.c
> +++ b/drivers/net/wireless/rt2x00/rt2800pci.c
> @@ -394,6 +394,16 @@ static int rt2800pci_init_queues(struct rt2x00_dev *rt2x00dev)
> rt2x00pci_register_write(rt2x00dev, TX_CTX_IDX3, 0);
> rt2x00pci_register_write(rt2x00dev, TX_DTX_IDX3, 0);
>
> + rt2x00pci_register_write(rt2x00dev, TX_BASE_PTR4, 0);
> + rt2x00pci_register_write(rt2x00dev, TX_MAX_CNT4, 0);
> + rt2x00pci_register_write(rt2x00dev, TX_CTX_IDX4, 0);
> + rt2x00pci_register_write(rt2x00dev, TX_DTX_IDX4, 0);
> +
> + rt2x00pci_register_write(rt2x00dev, TX_BASE_PTR5, 0);
> + rt2x00pci_register_write(rt2x00dev, TX_MAX_CNT5, 0);
> + rt2x00pci_register_write(rt2x00dev, TX_CTX_IDX5, 0);
> + rt2x00pci_register_write(rt2x00dev, TX_DTX_IDX5, 0);
> +
> entry_priv = rt2x00dev->rx->entries[0].priv_data;
> rt2x00pci_register_write(rt2x00dev, RX_BASE_PTR, entry_priv->desc_dma);
> rt2x00pci_register_write(rt2x00dev, RX_MAX_CNT,
--
---
Gertjan
next prev parent reply other threads:[~2012-03-27 18:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 14:51 [PATCH 0/4] rt2x00: fix initialization after legacy driver Jakub Kicinski
2012-03-27 14:51 ` [PATCH 1/4] rt2x00: broaden PCIE L1-state wakeup configuration Jakub Kicinski
2012-03-27 18:19 ` Gertjan van Wingerde
2012-03-27 22:52 ` [rt2x00-users] " Jakub Kicinski
2012-03-28 12:38 ` Stanislaw Gruszka
2012-03-27 14:51 ` [PATCH 2/4] rt2x00: move disabling of DMA before loading firmware Jakub Kicinski
2012-03-27 18:11 ` Gertjan van Wingerde
2012-03-28 12:14 ` Stanislaw Gruszka
2012-03-28 12:53 ` [rt2x00-users] " Jakub Kicinski
2012-03-28 12:58 ` Julian Calaby
2012-03-28 13:15 ` Stanislaw Gruszka
2012-03-27 14:51 ` [PATCH 3/4] rt2x00: initialize queues before giving up due to DMA error Jakub Kicinski
2012-03-27 18:13 ` Gertjan van Wingerde
2012-03-27 14:51 ` [PATCH 4/4] rt2x00: zero registers of unused TX rings Jakub Kicinski
2012-03-27 18:13 ` Gertjan van Wingerde [this message]
2012-04-16 9:11 ` [rt2x00-users] [PATCH 0/4] rt2x00: fix initialization after legacy driver Andreas Hartmann
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=4F720336.1030308@gmail.com \
--to=gwingerde@gmail.com \
--cc=kubakici@wp.pl \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=users@rt2x00.serialmonkey.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.