.\" 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 "START_NIC" "9" "09 October 2005" "" ""
.SH NAME
start_nic \- Turns the device on
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int start_nic (struct s2io_nic * \fInic\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fInic\fB\fR
device private variable.
.SH "DESCRIPTION"
.PP
This function actually turns the device on. Before this function is
called,all Registers are configured from their reset states
and shared memory is allocated but the NIC is still quiescent. On
calling this function, the device interrupts are cleared and the NIC is
literally switched on by writing into the adapter control register.
.SH "RETURN VALUE"
.PP
SUCCESS on success and -1 on failure.