lpfc: Fix cq_id masking problem.
authorJames Smart <james.smart@avagotech.com>
Fri, 22 May 2015 14:42:40 +0000 (10:42 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Sat, 13 Jun 2015 15:22:59 +0000 (08:22 -0700)
commit16f3b48d26ac069abc020826f0c429c4ddcfb20c
tree3512bb508ca9b50772bbcc24b7ddc42649af58d0
parent5116fbf136ea21b8678a85eee5c03508736ada9f
lpfc: Fix cq_id masking problem.

The driver inadvertainly constrained the id space to 8 bits, when its
a full 16 bits from hw. This resulted in bad id's being written to the
hardware. Resulted in symptoms such as incomplete initialization, no
detection of link events, etc.

Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/lpfc/lpfc_hw4.h