From: Stanislaw Gruszka <sgruszka@redhat.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] [RFC/RFT 4/6] ath9k: use common PCIe ASPM definces instead of custom ones
Date: Mon, 25 Jul 2011 11:30:38 +0200 [thread overview]
Message-ID: <20110725093037.GC2608@redhat.com> (raw)
In-Reply-To: <20110723044631.GA828@vmraj-lnx.users.atheros.com>
On Sat, Jul 23, 2011 at 10:16:32AM +0530, Rajkumar Manoharan wrote:
> > + pci_read_config_byte(pdev, PCI_EXP_LNKCTL, &aspm);
> > + aspm &= ~(PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1);
> > + pci_write_config_byte(pdev, PCI_EXP_LNKCTL, aspm);
> > }
> >
> There seems to be where address diff b/w ATH_PCIE_CAP_LINK_CTRL &
> PCI_EXP_LNKCTL. It has to be like pcie_config_aspm_dev. Isn't it?
Good point. I'll correct and repost.
Thanks
Stanislaw
WARNING: multiple messages have this Message-ID (diff)
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
ath9k-devel@venema.h4ckr.net, camilo@mesias.co.uk,
Jonathan Nieder <jrnieder@gmail.com>,
Tony Houghton <h@realh.co.uk>, Adrian Chadd <adrian@freebsd.org>
Subject: Re: [RFC/RFT 4/6] ath9k: use common PCIe ASPM definces instead of custom ones
Date: Mon, 25 Jul 2011 11:30:38 +0200 [thread overview]
Message-ID: <20110725093037.GC2608@redhat.com> (raw)
In-Reply-To: <20110723044631.GA828@vmraj-lnx.users.atheros.com>
On Sat, Jul 23, 2011 at 10:16:32AM +0530, Rajkumar Manoharan wrote:
> > + pci_read_config_byte(pdev, PCI_EXP_LNKCTL, &aspm);
> > + aspm &= ~(PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1);
> > + pci_write_config_byte(pdev, PCI_EXP_LNKCTL, aspm);
> > }
> >
> There seems to be where address diff b/w ATH_PCIE_CAP_LINK_CTRL &
> PCI_EXP_LNKCTL. It has to be like pcie_config_aspm_dev. Isn't it?
Good point. I'll correct and repost.
Thanks
Stanislaw
next prev parent reply other threads:[~2011-07-25 9:30 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 13:31 [ath9k-devel] [RFC/RFT 0/6] ath9k: ASPM fixes Stanislaw Gruszka
2011-07-22 13:31 ` Stanislaw Gruszka
2011-07-22 13:31 ` [ath9k-devel] [RFC/RFT 1/6] ath9k: skip ->config_pci_powersave() if PCIe port has ASPM disabled Stanislaw Gruszka
2011-07-22 13:31 ` Stanislaw Gruszka
2011-07-22 13:31 ` [ath9k-devel] [RFC/RFT 2/6] ath9k: remove ->config_pci_powersave() redundant argument Stanislaw Gruszka
2011-07-22 13:31 ` Stanislaw Gruszka
2011-07-22 13:31 ` [ath9k-devel] [RFC/RFT 3/6] ath9k: merge common ->config_pci_powersave() checks Stanislaw Gruszka
2011-07-22 13:31 ` Stanislaw Gruszka
2011-07-22 13:31 ` [ath9k-devel] [RFC/RFT 4/6] ath9k: use common PCIe ASPM definces instead of custom ones Stanislaw Gruszka
2011-07-22 13:31 ` Stanislaw Gruszka
2011-07-23 4:46 ` [ath9k-devel] " Rajkumar Manoharan
2011-07-23 4:46 ` Rajkumar Manoharan
2011-07-25 9:30 ` Stanislaw Gruszka [this message]
2011-07-25 9:30 ` Stanislaw Gruszka
2011-07-22 13:31 ` [ath9k-devel] [RFC/RFT 5/6] ath9k: do btcoex ASPM disabling at initialization time Stanislaw Gruszka
2011-07-22 13:31 ` Stanislaw Gruszka
2011-07-23 4:51 ` [ath9k-devel] " Rajkumar Manoharan
2011-07-23 4:51 ` Rajkumar Manoharan
2011-07-25 9:16 ` [ath9k-devel] " Stanislaw Gruszka
2011-07-25 9:16 ` Stanislaw Gruszka
2011-07-26 17:36 ` [ath9k-devel] " Adrian Chadd
2011-07-26 17:36 ` Adrian Chadd
2011-07-22 13:31 ` [ath9k-devel] [RFC/RFT 6/6] ath9k: always initialize hw registers related to PCIe PM Stanislaw Gruszka
2011-07-22 13:31 ` Stanislaw Gruszka
2011-07-23 5:11 ` [ath9k-devel] " Rajkumar Manoharan
2011-07-23 5:11 ` Rajkumar Manoharan
2011-07-25 9:29 ` [ath9k-devel] " Stanislaw Gruszka
2011-07-25 9:29 ` Stanislaw Gruszka
2011-07-25 14:01 ` [ath9k-devel] " Stanislaw Gruszka
2011-07-25 14:01 ` Stanislaw Gruszka
2011-07-26 7:31 ` [ath9k-devel] " Rajkumar Manoharan
2011-07-26 7:31 ` Rajkumar Manoharan
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=20110725093037.GC2608@redhat.com \
--to=sgruszka@redhat.com \
--cc=ath9k-devel@lists.ath9k.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 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.