Query: i2o_scsi_queuecommand
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
I2O_SCSI_QUEUECOMMAN(9) Message-based devices I2O_SCSI_QUEUECOMMAN(9)NAMEi2o_scsi_queuecommand - queue a SCSI commandSYNOPSISint i2o_scsi_queuecommand(struct scsi_cmnd * SCpnt, void (*done) (struct scsi_cmnd *));ARGUMENTSSCpnt scsi command pointer done callback for completionDESCRIPTIONIssue a scsi command 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.LOCKStakes the controller lock on error path onlyCOPYRIGHTKernel Hackers Manual 2.6. July 2010 I2O_SCSI_QUEUECOMMAN(9)