r8169: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Tue, 24 Jul 2012 09:20:16 +0000 (17:20 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:12 +0000 (10:11 -0600)
commit7d7903b2a2e0c87151f8891e67c4c36a86f3fe83
tree9a14d31443bd3204efcd86d05d6728c9d6475d49
parent424ffc943dbac747818b7e4698cdc50be91e4c25
r8169: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify r8169 driver.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/realtek/r8169.c