DETECT

Section: (9)
Updated: 29 May 2003
Index Return to Main Contents

 

NAME

detect - detects HBAs this driver wants to control  

SYNOPSIS

int detect (struct SHT * shtp);  

ARGUMENTS

shtp
host template for this driver.
 

DESCRIPTION

Returns number of hosts this driver wants to control. 0 means no suitable hosts found.  

REQUIRED

yes, if ``passive initialization mode'' is used [in ``hotplug initialization mode'' it is not invoked]  

LOCKS

none held  

NOTES

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 scsi_register [see hosts.c].  

DEFINED IN

LLD  

ABOUT THIS DOCUMENT

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".

If you have comments on the formatting of this manpage, then please contact Michael Still (mikal@stillhq.com).

This documentation was generated with kernel version 2.5.70.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
REQUIRED
LOCKS
NOTES
DEFINED IN
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 11:26:06 GMT, May 29, 2003