[Intel-wired-lan] [PATCH] igc: Prefer pcie_capability_read_word()

David Miller davem at davemloft.net
Sun Jul 21 20:30:10 UTC 2019


From: Frederick Lawler <fred at fredlawl.com>
Date: Wed, 17 Jul 2019 21:07:39 -0500

> Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability")
> added accessors for the PCI Express Capability so that drivers didn't
> need to be aware of differences between v1 and v2 of the PCI
> Express Capability.
> 
> Replace pci_read_config_word() and pci_write_config_word() calls with
> pcie_capability_read_word() and pcie_capability_write_word().
> 
> Signed-off-by: Frederick Lawler <fred at fredlawl.com>

Applied.


More information about the Intel-wired-lan mailing list