.\" 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 "ZFCP_PORT_ENQUEUE" "9" "09 October 2005" "" ""
.SH NAME
zfcp_port_enqueue \- enqueue port to port list of adapter
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct zfcp_port * zfcp_port_enqueue (struct zfcp_adapter * \fIadapter\fB, wwn_t \fIwwpn\fB, u32 \fIstatus\fB, u32 \fId_id\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIadapter\fB\fR
adapter where remote port is added
.TP
\fB\fIwwpn\fB\fR
WWPN of the remote port to be enqueued
.TP
\fB\fIstatus\fB\fR
initial status for the port
.TP
\fB\fId_id\fB\fR
destination id of the remote port to be enqueued
.SH "RETURN"
.PP
pointer to enqueued port on success, NULL on error
.SH "LOCKS"
.PP
config_sema must be held to serialize changes to the port list
.PP
All port internal structures are set up and the sysfs entry is generated.
d_id is used to enqueue ports with a well known address like the Directory
Service for nameserver lookup.