if (atomic_read(&fcport->state) == FCS_ONLINE && fcport->rport) fc_remote_port_block(fcport->rport); 
void qla2x00_mark_device_lost(scsi_qla_host_t *ha, fc_port_t *fcport,    int do_login){	/* 	 * We may need to retry the login, so don't change the state of the	 * port but do the retries.	 */	if (atomic_read(&fcport->state) != FCS_DEVICE_DEAD)		atomic_set(&fcport->state, FCS_DEVICE_LOST);	if (!do_login)		return;	if (fcport->login_retry == 0) {		fcport->login_retry = ha->login_retry_count;		set_bit(RELOGIN_NEEDED, &ha->dpc_flags);		DEBUG(printk("scsi(%ld): Port login retry: "		    "%02x%02x%02x%02x%02x%02x%02x%02x, "		    "id = 0x%04x retry cnt=%d\n",		    ha->host_no,		    fcport->port_name[0],		    fcport->port_name[1],		    fcport->port_name[2],		    fcport->port_name[3],		    fcport->port_name[4],		    fcport->port_name[5],		    fcport->port_name[6],		    fcport->port_name[7],		    fcport->loop_id,		    fcport->login_retry));	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8482e118afa0cb4321ab3d30b1100d27d63130c0/qla_os.c/clean/drivers/scsi/qla2xxx/qla_os.c