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

Use PCI Express Capability access functions to simplify mlx4 driver.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/net/ethernet/mellanox/mlx4/reset.c