scsi: lpfc: Rename LPFC_MAX_EQ_DELAY to LPFC_MAX_EQ_DELAY_EQID_CNT
Without apriori understanding of what the define is, the name gives a very different impression of what it is (a max delay value for an EQ). Rename the define so it reflects what it is: the number of EQ IDs that can be set in one instance of the MODIFY_EQ_DELAY mbx command. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
166d721120
commit
43140ca68d
@@ -1001,7 +1001,7 @@ struct eq_delay_info {
|
||||
uint32_t phase;
|
||||
uint32_t delay_multi;
|
||||
};
|
||||
#define LPFC_MAX_EQ_DELAY 8
|
||||
#define LPFC_MAX_EQ_DELAY_EQID_CNT 8
|
||||
|
||||
struct sgl_page_pairs {
|
||||
uint32_t sgl_pg0_addr_lo;
|
||||
@@ -1070,7 +1070,7 @@ struct lpfc_mbx_modify_eq_delay {
|
||||
union {
|
||||
struct {
|
||||
uint32_t num_eq;
|
||||
struct eq_delay_info eq[LPFC_MAX_EQ_DELAY];
|
||||
struct eq_delay_info eq[LPFC_MAX_EQ_DELAY_EQID_CNT];
|
||||
} request;
|
||||
struct {
|
||||
uint32_t word0;
|
||||
|
Reference in New Issue
Block a user