]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit245e3fc3013b09931deb05a7f35ecfc13b35ccac
treefa1a64e95b5f7ff2507781c51fe67c95bebd32df
parent4b7240503641a05f048593c8d0cbd93698018941
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