bnx2x: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Mon, 20 Aug 2012 19:26:51 +0000 (13:26 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:12 +0000 (10:11 -0600)
commit2a80eebcbf3e0f2cc7df6aced54058fbdff37518
treec5c854465d31f1450080263f3f503e8bbae02c3e
parent8200bc72a88cbb63ee13d7f9f16ec4f7249c2ec2
bnx2x: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify bnx2x driver.

[bhelgaas: split bnx2x and tg3 into separate patches]
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c