SLAVE_CONFIGURE

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

 

NAME

slave_configure - driver fine tuning for given device just after it  

SYNOPSIS

int slave_configure (struct scsi_device * sdp);  

ARGUMENTS

sdp
device that has just been attached
 

DESCRIPTION

Returns 0 if ok. Any other return is assumed to be an error and the device is taken offline. [offline devices will _not_ have slave_destroy called on them so clean up resources.]  

DESCRIPTION

Returns 0 if ok. Any other return is assumed to be an error and the device is taken offline. [offline devices will _not_ have slave_destroy called on them so clean up resources.]  

REQUIRED

no  

LOCKS

none  

NOTES

Allows the driver to inspect the response to the initial INQUIRY done by the scanning code and take appropriate action. For more details see the hosts.h file. If this function is not supplied, the mid level will call scsi_adjust_queue_depth with the struct Scsi_Host::cmd_per_lun value on behalf of the given device. If this function is supplied then its implementation must call scsi_adjust_queue_depth.  

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
DESCRIPTION
REQUIRED
LOCKS
NOTES
DEFINED IN
ABOUT THIS DOCUMENT

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