I2O_SCSI_QUEUECOMMAND

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

i2o_scsi_queuecommand - queue a SCSI command  

SYNOPSIS

"SYNOPSIS"

int i2o_scsi_queuecommand (Scsi_Cmnd * SCpnt, void (*done) Scsi_Cmnd *);  

ARGUMENTS

SCpnt
scsi command pointer
done
callback for completion
 

DESCRIPTION

Issue a scsi comamnd asynchronously. Return 0 on success or 1 if we hit an error (normally message queue congestion). The only minor complication here is that I2O deals with the device addressing so we have to map the bus/dev/lun back to an I2O handle as well as faking absent devices ourself.  

LOCKS

takes the controller lock on error path only


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKS

This document was created by man2html, using the manual pages.
Time: 05:30:37 GMT, October 06, 2005