Skip to content
Branch: master
Find file History
fredlawl and davem330 qed: Prefer pcie_capability_read_word()
Commit 8c0d3a0 ("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@fredlawl.com>
Acked-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Latest commit 93428c5 Jul 18, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
3com treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
8390 Merge tag 'spdx-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel… Jun 21, 2019
adaptec treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
aeroflex treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 May 30, 2019
agere treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
alacritech treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 Jun 19, 2019
allwinner Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net Jul 9, 2019
alteon treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 May 30, 2019
altera treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 May 30, 2019
amazon Revert "net: ena: ethtool: add extra properties retrieval via get_pri… Jun 26, 2019
amd treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
apm treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 May 21, 2019
apple treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 May 30, 2019
aquantia Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net Jun 28, 2019
arc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
atheros ag71xx: fix return value check in ag71xx_probe() Jul 19, 2019
aurora treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 May 30, 2019
broadcom bnx2x: Prevent load reordering in tx completion processing Jul 21, 2019
brocade treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 292 Jun 5, 2019
cadence Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net Jul 9, 2019
calxeda net/ethernet: using dev_get_drvdata directly Jul 5, 2019
cavium liquidio: Replace vmalloc + memset with vzalloc Jul 18, 2019
chelsio cxgb4: Prefer pcie_capability_read_word() Jul 21, 2019
cirrus treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 May 30, 2019
cisco treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
cortina net: gemini: remove unnecessary assert Apr 19, 2019
davicom treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 May 30, 2019
dec Merge tag 'spdx-5.2-rc3-1' of git://git.kernel.org/pub/scm/linux/kern… May 31, 2019
dlink treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 May 30, 2019
emulex be2net: Synchronize be_update_queues with dev_watchdog Jul 21, 2019
ezchip treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 Jun 5, 2019
faraday Merge tag 'v5.2-rc4' into mauro Jun 14, 2019
freescale ethernet: remove redundant memset Jul 15, 2019
fujitsu treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
google gve: replace kfree with kvfree Jul 18, 2019
hisilicon net: hns3: typo in the name of a constant Jul 21, 2019
hp treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 86 May 24, 2019
huawei hinic: add fw version query Jul 8, 2019
i825xx treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
ibm ibmvnic: Fix unchecked return codes of memory allocations Jun 10, 2019
intel igc: Prefer pcie_capability_read_word() Jul 21, 2019
marvell ethernet: remove redundant memset Jul 15, 2019
mediatek net: ethernet: mediatek: mtk_eth_soc: Add of_node_put() before goto Jul 16, 2019
mellanox net: flow_offload: add flow_block structure and use it Jul 20, 2019
micrel treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
microchip treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
moxa treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
mscc net: flow_offload: add flow_block structure and use it Jul 20, 2019
myricom treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
natsemi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 May 21, 2019
neterion ethernet: remove redundant memset Jul 15, 2019
netronome net: flow_offload: add flow_block structure and use it Jul 20, 2019
ni net: nixge: Fix misuse of strlcpy Jul 8, 2019
nuvoton treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 441 Jun 5, 2019
nvidia treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 May 21, 2019
nxp treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 May 30, 2019
oki-semi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 340 Jun 5, 2019
packetengines treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
pasemi net: pasemi: fix an use-after-free in pasemi_mac_phy_init() Jul 8, 2019
qlogic qed: Prefer pcie_capability_read_word() Jul 21, 2019
qualcomm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net Jun 18, 2019
rdc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 May 21, 2019
realtek r8169: fix RTL8168g PHY init Jul 20, 2019
renesas net: sh_eth: fix mdio access in sh_eth_close() for R-Car Gen2 and RZ/… May 29, 2019
rocker Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net Jun 7, 2019
samsung treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
seeq treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
sfc sfc: Remove 'PCIE error reporting unavailable' Jul 8, 2019
sgi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 May 30, 2019
silan treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
sis sis900: correct a few typos Jul 14, 2019
smsc docs: kbuild: convert docs to ReST and rename to *.rst Jun 14, 2019
socionext net: netsec: remove static declaration for netsec_set_tx_de() Jul 9, 2019
stmicro net: stmmac: Fix misuses of GENMASK macro Jul 11, 2019
sun net: ethernet: sun: remove redundant assignment to variable err Jul 4, 2019
synopsys treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
tehuti treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 May 30, 2019
ti net: ethernet: ti: cpsw: Add of_node_put() before return and break Jul 16, 2019
toshiba Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux… Jul 12, 2019
tundra treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 May 30, 2019
via net: ipv4: provide __rcu annotation for ifa_list Jun 3, 2019
wiznet net: ethernet: wiznet: w5X00 add device tree support Jun 12, 2019
xilinx net: axienet: fix a potential double free in axienet_probe() Jul 8, 2019
xircom treewide: Add SPDX license identifier - Makefile/Kconfig May 21, 2019
xscale treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 206 May 30, 2019
Kconfig gve: Add basic driver framework for Compute Engine Virtual NIC Jul 2, 2019
Makefile gve: Add basic driver framework for Compute Engine Virtual NIC Jul 2, 2019
dnet.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
dnet.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
ec_bhf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 Jun 5, 2019
ethoc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 Jun 19, 2019
fealnx.c net: fealnx: replace dev_kfree_skb_irq by dev_consume_skb_irq for dro… Feb 14, 2019
jme.c ethernet: remove redundant memset Jul 15, 2019
jme.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 195 May 30, 2019
korina.c drivers/net: korina: Convert timers to use timer_setup() Oct 28, 2017
lantiq_etop.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 Jun 19, 2019
lantiq_xrx200.c net: ethernet: support of_get_mac_address new ERR_PTR error May 7, 2019
netx-eth.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 Jun 19, 2019
You can’t perform that action at this time.