mirror of https://gitee.com/openkylin/linux.git
[SCSI] qla2xxx: Enable the Flash Access Control (FAC) mailbox command.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
d550dd273e
commit
1ca60e3b0d
|
@ -1718,9 +1718,6 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)
|
|||
spin_unlock_irqrestore(&ha->hardware_lock, flags);
|
||||
}
|
||||
|
||||
if (IS_QLA83XX(ha))
|
||||
goto skip_fac_check;
|
||||
|
||||
if (rval == QLA_SUCCESS && IS_FAC_REQUIRED(ha)) {
|
||||
uint32_t size;
|
||||
|
||||
|
@ -1733,7 +1730,7 @@ qla2x00_setup_chip(scsi_qla_host_t *vha)
|
|||
"Unsupported FAC firmware (%d.%02d.%02d).\n",
|
||||
ha->fw_major_version, ha->fw_minor_version,
|
||||
ha->fw_subminor_version);
|
||||
skip_fac_check:
|
||||
|
||||
if (IS_QLA83XX(ha)) {
|
||||
ha->flags.fac_supported = 0;
|
||||
rval = QLA_SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue