.\" 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_CLOSE" "9" "09 October 2005" "" ""
.SH NAME
s2io_close \- close entry point of the driver
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int s2io_close (struct net_device * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
device pointer.
.SH "DESCRIPTION"
.PP
This is the stop entry point of the driver. It needs to undo exactly
whatever was done by the open entry point,thus it's usually referred to
as the close function.Among other things this function mainly stops the
Rx side of the NIC and frees all the Rx buffers in the Rx rings.
.SH "RETURN VALUE"
.PP
0 on success and an appropriate (-)ve integer as defined in errno.h
file on failure.