mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 11:26:54 +07:00
[SCSI] qla2xxx: Set correct cabling state during initialization.
Previous work to add asynchronous-scsi-scanning support
(d19044c32b
) caused peculiar
semantic changes when no cabling was attached to the HBA
whereby unneeded and intrusive 'error-handling' would take
place due to the initial link state being unset.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
b1372bc90f
commit
2603221a28
@ -65,7 +65,7 @@ qla2x00_initialize_adapter(scsi_qla_host_t *ha)
|
||||
ha->flags.reset_active = 0;
|
||||
atomic_set(&ha->loop_down_timer, LOOP_DOWN_TIME);
|
||||
atomic_set(&ha->loop_state, LOOP_DOWN);
|
||||
ha->device_flags = 0;
|
||||
ha->device_flags = DFLG_NO_CABLE;
|
||||
ha->dpc_flags = 0;
|
||||
ha->flags.management_server_logged_in = 0;
|
||||
ha->marker_needed = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user