.\" 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 "DETECT" "9" "29 May 2003" "" ""
.SH NAME
detect \- detects HBAs this driver wants to control
.SH SYNOPSIS
.sp
\fB
.sp
int detect (struct SHT * \fIshtp\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIshtp\fB\fR
host template for this driver.
.SH "DESCRIPTION"
.PP
Returns number of hosts this driver wants to control. 0 means no
suitable hosts found.
.SH "REQUIRED"
.PP
yes, if ``passive initialization mode'' is used
[in ``hotplug initialization mode'' it is not invoked]
.SH "LOCKS"
.PP
none held
.SH "NOTES"
.PP
First function called from the SCSI mid level on this
driver. Upper level drivers (e.g. sd) may not (yet) be present.
For each host found, this method should call \fBscsi_register\fR
[see hosts.c].
.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.