cxgb4: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Mon, 20 Aug 2012 19:53:19 +0000 (13:53 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:14 +0000 (10:11 -0600)
commite5c8ae5fcaadc7947ce3a8e0f82134e56fe4e15b
tree5e68d3907bad3b36d60615505361e12709dab448
parentc772b44e32ea8255e5d0ffaac0a7b76043b14565
cxgb4: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify cxgb4 driver.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c