diff options
author | Dennis Dalessandro <dennis.dalessandro@intel.com> | 2016-01-22 21:45:20 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-11 02:37:17 +0100 |
commit | 6a9df403c9d3e37b79d6dac83922d2b4647f4dc8 (patch) | |
tree | 2fbf74a95b1f5fe11e0093adf4f3f7bf7a599636 /drivers/infiniband/hw/qib/qib.h | |
parent | IB/qib: Remove driver specific members from qib qp type (diff) | |
download | linux-6a9df403c9d3e37b79d6dac83922d2b4647f4dc8.tar.xz linux-6a9df403c9d3e37b79d6dac83922d2b4647f4dc8.zip |
IB/qib: Add device specific info prints
Implement get_card_name and get_pci_dev helper functions for rdmavt
for qib.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib.h')
-rw-r--r-- | drivers/infiniband/hw/qib/qib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/qib/qib.h b/drivers/infiniband/hw/qib/qib.h index 0e68e1f4f6dc..e610eafa2773 100644 --- a/drivers/infiniband/hw/qib/qib.h +++ b/drivers/infiniband/hw/qib/qib.h @@ -1455,6 +1455,8 @@ u64 qib_sps_ints(void); dma_addr_t qib_map_page(struct pci_dev *, struct page *, unsigned long, size_t, int); const char *qib_get_unit_name(int unit); +const char *qib_get_card_name(struct rvt_dev_info *rdi); +struct pci_dev *qib_get_pci_dev(struct rvt_dev_info *rdi); /* * Flush write combining store buffers (if present) and perform a write |