.\" 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 "WAIT_FOR_CMD_COMPLETE" "9" "09 October 2005" "" "" .SH NAME wait_for_cmd_complete \- waits for a command to complete. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int wait_for_cmd_complete (nic_t * \fIsp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsp\fB\fR private member of the device structure, which is a pointer to the s2io_nic structure. .SH "DESCRIPTION" .PP Function that waits for a command to Write into RMAC ADDR DATA registers to be completed and returns either success or error depending on whether the command was complete or not. .SH "RETURN VALUE" .PP SUCCESS on success and FAILURE on failure.