OSDN Git Service

RDMA/qedr: Fix the hca_type and hca_rev returned in device attributes
authorMichal Kalderon <michal.kalderon@marvell.com>
Sun, 28 Jul 2019 11:13:38 +0000 (14:13 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Jul 2019 17:03:59 +0000 (13:03 -0400)
commit15fe6a8dcc3b48358c28e17b485fc837f9605ec4
tree4bfa3686eea3934a629fcb8a63670638f7156b85
parenta07fc0bb483eb24444cebd59a8112ce6e6964c48
RDMA/qedr: Fix the hca_type and hca_rev returned in device attributes

There was a place holder for hca_type and vendor was returned
in hca_rev. Fix the hca_rev to return the hw revision and fix
the hca_type to return an informative string representing the
hca.

Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Link: https://lore.kernel.org/r/20190728111338.21930-1-michal.kalderon@marvell.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/main.c