mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: James Smart <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
5116fbf136
commit
16f3b48d26
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ struct sli4_bls_rsp {
|
|||
struct lpfc_eqe {
|
||||
uint32_t word0;
|
||||
#define lpfc_eqe_resource_id_SHIFT 16
|
||||
#define lpfc_eqe_resource_id_MASK 0x000000FF
|
||||
#define lpfc_eqe_resource_id_MASK 0x0000FFFF
|
||||
#define lpfc_eqe_resource_id_WORD word0
|
||||
#define lpfc_eqe_minor_code_SHIFT 4
|
||||
#define lpfc_eqe_minor_code_MASK 0x00000FFF
|
||||
|
|
|
|||
Loading…
Reference in a new issue