fc_host_port_type
fc_host_port_type(sh) = port_type;
if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP)
if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP)
if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT &&
fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV)
if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_NPIV &&
if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT &&
fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV)
if (ret || fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV)
fc_host_port_type(shost) = FC_PORTTYPE_UNKNOWN;
fc_host_port_type(shost) = FC_PORTTYPE_PTP;
fc_host_port_type(shost) = FC_PORTTYPE_NPIV;
fc_host_port_type(shost) = FC_PORTTYPE_NPORT;
fc_host_port_type(shost) = FC_PORTTYPE_NLPORT;
fc_host_port_type(shost) = FC_PORTTYPE_NPORT;
fc_host_port_type(shost) = FC_PORTTYPE_NLPORT;
fc_host_port_type(shost) = FC_PORTTYPE_PTP;
fc_host_port_type(shost) = FC_PORTTYPE_LPORT;
fc_host_port_type(shost) = FC_PORTTYPE_UNKNOWN;
fc_host_port_type(lport->host) = FC_PORTTYPE_UNKNOWN;
fc_host_port_type(vport->host) =
fc_host_port_type(lport->host) = FC_PORTTYPE_UNKNOWN;
fc_host_port_type(lport->host) = FC_PORTTYPE_NPORT;
fc_host_port_type(lport->host) = FC_PORTTYPE_NPORT;
fc_host_port_type(vport->host) =
fc_host_port_type(lport->host) =
fc_host_port_type(shost) = FC_PORTTYPE_NPIV;
fc_host_port_type(shost) = FC_PORTTYPE_NPORT;
fc_host_port_type(shost) = type;
fc_host_port_type(shost) = FC_PORTTYPE_NPIV;
fc_host_port_type(fnic->host) = FC_PORTTYPE_NPORT;
fc_host_port_type(vhost->host) = FC_PORTTYPE_NPIV;
put_unaligned_be32(fc_host_port_type(lport->host),
fc_host_port_type(lport->host) = FC_PORTTYPE_NPORT;
fc_host_port_type(shost) = FC_PORTTYPE_NPIV;
fc_host_port_type(shost) = FC_PORTTYPE_NLPORT;
fc_host_port_type(shost) = FC_PORTTYPE_LPORT;
fc_host_port_type(shost) = FC_PORTTYPE_NPORT;
fc_host_port_type(shost) = FC_PORTTYPE_PTP;
fc_host_port_type(shost) = FC_PORTTYPE_UNKNOWN;
fc_host_port_type(vn_port->host) = FC_PORTTYPE_UNKNOWN;
fc_host_port_type(vn_port->host) = FC_PORTTYPE_NPIV;
fc_host_port_type(shost) = FC_PORTTYPE_NPIV;
fc_host_port_type(shost) = port_type;