Messages in this thread | | | Date | Tue, 10 Sep 2013 13:53:48 +0100 | From | Mark Einon <> | Subject | Re: [PATCH 5/6] staging/et131x: Use cached pci_dev->pcie_mpss and pcie_set_readrq() to simplif code |
| |
On Mon, Sep 09, 2013 at 09:13:07PM +0800, Yijing Wang wrote: > The PCI core caches the "PCI-E Max Payload Size Supported" in > pci_dev->pcie_mpss, so use that instead of pcie_capability_read_dword(). > Also use pcie_set_readrq() instead of pcie_capability_clear_and_set_word() > to simplify code. > > Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Acked-by: Mark Einon <mark.einon@gmail.com>
| |