Re: [PATCH 5/6] staging/et131x: Use cached pci_dev->pcie_mpss andpcie_set_readrq() to simplif code

From: Mark Einon
Date: Tue Sep 10 2013 - 08:55:15 EST


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@xxxxxxxxxx>

Acked-by: Mark Einon <mark.einon@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/