IB/qib: Use PCI Express Capability accessors
authorJiang Liu <jiang.liu@huawei.com>
Tue, 24 Jul 2012 09:20:28 +0000 (17:20 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Aug 2012 16:11:15 +0000 (10:11 -0600)
commit0921caf3264062c23b37abeee22c6d912430cc52
treedbeac5020f7b83690e4d1225195444a38d74db9b
parent3c55569b0878fc9285ea5770cfb9b693c73832c7
IB/qib: Use PCI Express Capability accessors

Use PCI Express Capability access functions to simplify qib 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>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
drivers/infiniband/hw/qib/qib_pcie.c