.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FC_REMOTE_PORT_ROLECHG" "9" "09 October 2005" "" ""
.SH NAME
fc_remote_port_rolechg \- notifies the fc transport that the roles
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void fc_remote_port_rolechg (struct fc_rport * \fIrport\fB, u32 \fIroles\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIrport\fB\fR
The remote port that changed.
.TP
\fB\fIroles\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
The LLDD calls this routine to notify the transport that the roles
on a remote port may have changed. The largest effect of this is
if a port now becomes a FCP Target, it must be allocated a
scsi target id. If the port is no longer a FCP target, any
scsi target id value assigned to it will persist in case the
role changes back to include FCP Target. No changes in the scsi
midlayer will be invoked if the role changes (in the expectation
that the role will be resumed. If it doesn't normal error processing
will take place).
.PP
Should not be called from interrupt context.
.SH "DESCRIPTION"
.PP
The LLDD calls this routine to notify the transport that the roles
on a remote port may have changed. The largest effect of this is
if a port now becomes a FCP Target, it must be allocated a
scsi target id. If the port is no longer a FCP target, any
scsi target id value assigned to it will persist in case the
role changes back to include FCP Target. No changes in the scsi
midlayer will be invoked if the role changes (in the expectation
that the role will be resumed. If it doesn't normal error processing
will take place).
.PP
Should not be called from interrupt context.
.SH "NOTES"
.PP
This routine assumes no locks are held on entry.