.\" 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 "S2IO_OPEN" "9" "09 October 2005" "" "" .SH NAME s2io_open \- open entry point of the driver .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int s2io_open (struct net_device * \fIdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR pointer to the device structure. .SH "DESCRIPTION" .PP This function is the open entry point of the driver. It mainly calls a function to allocate Rx buffers and inserts them into the buffer descriptors and then enables the Rx part of the NIC. .SH "RETURN VALUE" .PP 0 on success and an appropriate (-)ve integer as defined in errno.h file on failure.