diff options
author | James Smart <james.smart@avagotech.com> | 2015-05-22 16:42:35 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-06-13 17:18:07 +0200 |
commit | 481ad967991e1ff00d627d365de398b7a77e4d7f (patch) | |
tree | 309ccf1faebb9781ade345acd6f5033cde64c781 /drivers/scsi/lpfc/lpfc_hw4.h | |
parent | lpfc: Update driver version for upstream patch set 10.6.0.1. (diff) | |
download | linux-481ad967991e1ff00d627d365de398b7a77e4d7f.tar.xz linux-481ad967991e1ff00d627d365de398b7a77e4d7f.zip |
lpfc: Check for active portpeerbeacon.
LCB requests to set Beacon would fail if the beacon was already enabled
internally as the mailbox command used to query the state failes with
an already-set status.
Correct by enhancing the check so we don't fail if if the already set
status comes back.
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hw4.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hw4.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hw4.h b/drivers/scsi/lpfc/lpfc_hw4.h index 7cc7bec31bfe..b94fa460f253 100644 --- a/drivers/scsi/lpfc/lpfc_hw4.h +++ b/drivers/scsi/lpfc/lpfc_hw4.h @@ -1943,6 +1943,12 @@ struct lpfc_mbx_redisc_fcf_tbl { #define STATUS_FCF_IN_USE 0x3a #define STATUS_FCF_TABLE_EMPTY 0x43 +/* + * Additional status field for embedded SLI_CONFIG mailbox + * command. + */ +#define ADD_STATUS_OPERATION_ALREADY_ACTIVE 0x67 + struct lpfc_mbx_sli4_config { struct mbox_header header; }; |