linux_dsm_epyc7002/drivers/net/ethernet/amd
Yijing Wang f9c7da5eaf amd8111e: use pdev->pm_cap instead of pci_find_capability(.., PCI_CAP_ID_PM)
Pci core has been saved pm cap register offset by pdev->pm_cap in pci_pm_init()
in init path. So we can use pdev->pm_cap instead of using
pci_find_capability(pdev, PCI_CAP_ID_PM) for better performance and simplified code.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-19 22:22:56 -07:00
..
7990.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
7990.h
a2065.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
a2065.h
am79c961a.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
am79c961a.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
amd8111e.c amd8111e: use pdev->pm_cap instead of pci_find_capability(.., PCI_CAP_ID_PM) 2013-06-19 22:22:56 -07:00
amd8111e.h module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
ariadne.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
ariadne.h
atarilance.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
au1000_eth.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
au1000_eth.h
declance.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
hplance.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
hplance.h
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
lance.c lance: remove unnecessary setting of skb->dev 2012-07-10 23:24:56 -07:00
Makefile drivers/net: delete old DEC depca ISA drivers support. 2013-01-22 10:39:55 -05:00
mvme147.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
ni65.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
ni65.h
nmclan_cs.c drivers/net: use module_pcmcia_driver() in pcmcia drivers 2013-03-15 12:27:33 -07:00
pcnet32.c drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb 2013-03-09 16:09:19 -05:00
sun3lance.c ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR 2013-03-12 06:57:22 -04:00
sunlance.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00