rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.wwn); rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.wwn); 
rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); 
lpfc_register_remote_port(struct lpfc_hba * phba,			    struct lpfc_nodelist * ndlp){	struct fc_rport *rport;	struct lpfc_rport_data *rdata;	struct fc_rport_identifiers rport_ids;	/* Remote port has reappeared. Re-register w/ FC transport */	rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.wwn);	rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.wwn);	rport_ids.port_id = ndlp->nlp_DID;	rport_ids.roles = FC_RPORT_ROLE_UNKNOWN;	if (ndlp->nlp_type & NLP_FCP_TARGET)		rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET;	if (ndlp->nlp_type & NLP_FCP_INITIATOR)		rport_ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR;	ndlp->rport = rport = fc_remote_port_add(phba->host, 0, &rport_ids);	if (!rport) {		dev_printk(KERN_WARNING, &phba->pcidev->dev,			   "Warning: fc_remote_port_add failed\n");		return;	}	/* initialize static port data */	rport->maxframe_size = ndlp->nlp_maxframe;	rport->supported_classes = ndlp->nlp_class_sup;	if ((rport->scsi_target_id != -1) &&		(rport->scsi_target_id < MAX_FCP_TARGET)) {		ndlp->nlp_sid = rport->scsi_target_id;	}	rdata = rport->dd_data;	rdata->pnode = ndlp;	return;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/68ce1eb54056e4fad6e73968e958b926d28cb0dd/lpfc_hbadisc.c/clean/drivers/scsi/lpfc/lpfc_hbadisc.c