.\" 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 "RELEASE" "9" "29 May 2003" "" ""
.SH NAME
release \- release all resources associated with given host
.SH SYNOPSIS
.sp
\fB
.sp
int release (struct Scsi_Host * \fIshp\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIshp\fB\fR
host to be released.
.SH "DESCRIPTION"
.PP
Return value ignored (could soon be a function returning void).
.SH "REQUIRED"
.PP
yes (see notes)
.SH "LOCKS"
.PP
none held
.SH "NOTES"
.PP
Invoked from mid level's \fBscsi_unregister_host\fR.
LLD's implementation of this function should call
scsi_unregister(shp) prior to returning.
If not supplied mid-level [in hosts.c] supplies its own
implementation (see \fBscsi_host_legacy_release\fR) which is for old
ISA adapters so it is best not to use it.
.SH "DEFINED IN"
.PP
LLD
.SH "ABOUT THIS DOCUMENT"
.PP
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.1 or any later version published by the Free Software
Foundation; with no Invariant Sections, with no Front-Cover Texts,
and with no Back-Cover Texts. A copy of the license is included
in the section entitled "GNU Free Documentation License".
.PP
If you have comments on the formatting of this manpage, then please contact
Michael Still (mikal@stillhq.com).
.PP
This documentation was generated with kernel version 2.5.70.