1I2O_SCSI_QUEUECOMMAN(9)      Message-based devices     I2O_SCSI_QUEUECOMMAN(9)
2
3
4

NAME

6       i2o_scsi_queuecommand - queue a SCSI command
7

SYNOPSIS

9       int i2o_scsi_queuecommand(struct scsi_cmnd * SCpnt,
10                                 void (*done) (struct scsi_cmnd *));
11

ARGUMENTS

13       SCpnt
14           scsi command pointer
15
16       done
17           callback for completion
18

DESCRIPTION

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

LOCKS

27       takes the controller lock on error path only
28
30Kernel Hackers Manual 2.6.         June 2019           I2O_SCSI_QUEUECOMMAN(9)
Impressum