IB/qib: Minor fixes to qib per SFF 8636
authorEaswar Hariharan <easwar.hariharan@intel.com>
Mon, 2 Nov 2015 17:13:14 +0000 (12:13 -0500)
committerDoug Ledford <dledford@redhat.com>
Mon, 7 Dec 2015 21:36:00 +0000 (16:36 -0500)
commit57ab2512138205fe7836332fb4742441e53907ff
treefa1a64e95b5f7ff2507781c51fe67c95bebd32df
parent1d784b890c0101db2556b981e864c2282a3c1b02
IB/qib: Minor fixes to qib per SFF 8636

Minor errors found via code inspection during future development.
SFF 8636 defines bit position 2 to hold the status indication of
QSFP memory paging. The mask used to test for the value was
incorrect and is fixed in this patch. Additionally, the dump
function had a mismatch between the field being printed out and
the field used to source the data which was fixed.

Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reported-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qib/qib_qsfp.c