mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 06:06:23 +00:00
Merge branch 'svn-trunk'
This commit is contained in:
@@ -2249,7 +2249,10 @@ typedef enum {
|
||||
FCT_BROADCAST,
|
||||
FCT_INITIATOR,
|
||||
FCT_TARGET,
|
||||
FCT_NVME
|
||||
FCT_NVME_INITIATOR = 0x10,
|
||||
FCT_NVME_TARGET = 0x20,
|
||||
FCT_NVME_DISCOVERY = 0x40,
|
||||
FCT_NVME = 0xf0,
|
||||
} fc_port_type_t;
|
||||
|
||||
enum qla_sess_deletion {
|
||||
|
||||
@@ -79,7 +79,7 @@ int qla2x00_post_work(struct scsi_qla_host *vha, struct qla_work_evt *e);
|
||||
extern void *qla2x00_alloc_iocbs_ready(struct qla_qpair *, srb_t *);
|
||||
extern int qla24xx_update_fcport_fcp_prio(scsi_qla_host_t *, fc_port_t *);
|
||||
|
||||
extern void qla2x00_set_fcport_state(fc_port_t *fcport, int state);
|
||||
extern void qla2x00_set_fcport_state(fc_port_t *fcport, int state);
|
||||
extern fc_port_t *
|
||||
qla2x00_alloc_fcport(scsi_qla_host_t *, gfp_t );
|
||||
|
||||
|
||||
@@ -7880,7 +7880,7 @@ qla24xx_load_risc_blob(scsi_qla_host_t *vha, uint32_t *srisc_addr)
|
||||
fwcode = (void *)blob->fw->data;
|
||||
dcode = fwcode;
|
||||
if (qla24xx_risc_firmware_invalid(dcode)) {
|
||||
ql_log(ql_log_fatal, vha, 0x0094,
|
||||
ql_log(ql_log_fatal, vha, 0x0093,
|
||||
"Unable to verify integrity of firmware image (%zd).\n",
|
||||
blob->fw->size);
|
||||
ql_log(ql_log_fatal, vha, 0x0095,
|
||||
|
||||
@@ -6388,7 +6388,13 @@ int __qla24xx_parse_gpdb(struct scsi_qla_host *vha, fc_port_t *fcport,
|
||||
fcport->d_id.b.rsvd_1 = 0;
|
||||
|
||||
if (fcport->fc4f_nvme) {
|
||||
fcport->port_type = FCT_NVME;
|
||||
fcport->port_type = 0;
|
||||
if ((pd->prli_svc_param_word_3[0] & BIT_5) == 0)
|
||||
fcport->port_type |= FCT_NVME_INITIATOR;
|
||||
if ((pd->prli_svc_param_word_3[0] & BIT_4) == 0)
|
||||
fcport->port_type |= FCT_NVME_TARGET;
|
||||
if ((pd->prli_svc_param_word_3[0] & BIT_3) == 0)
|
||||
fcport->port_type |= FCT_NVME_DISCOVERY;
|
||||
} else {
|
||||
/* If not target must be initiator or unknown type. */
|
||||
if ((pd->prli_svc_param_word_3[0] & BIT_4) == 0)
|
||||
|
||||
Reference in New Issue
Block a user