Home
last modified time | relevance | path

Searched refs:ScsiPassThruCmnd (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
DcpqfcTSinit.c412 Scsi_Cmnd *ScsiPassThruCmnd; in cpqfcTS_ioctl() local
466 ScsiPassThruCmnd = scsi_allocate_device(ScsiDev, 1, 1); in cpqfcTS_ioctl()
477 memcpy(&ScsiPassThruCmnd->cmnd[0], &vendor_cmd->cdb[0], MAX_COMMAND_SIZE); in cpqfcTS_ioctl()
482 ScsiPassThruCmnd->cmd_len = 16; // sizeof FCP-SCSI CDB in cpqfcTS_ioctl()
491 memcpy(&ScsiPassThruCmnd->SCp.buffers_residual, &vendor_cmd->cdb[12], 4); in cpqfcTS_ioctl()
495 ScsiPassThruCmnd->SCp.sent_command = 1; // PASSTHRU! in cpqfcTS_ioctl()
500 ScsiPassThruCmnd->SCp.phase = vendor_cmd->bus; in cpqfcTS_ioctl()
501 ScsiPassThruCmnd->SCp.have_data_in = vendor_cmd->pdrive; in cpqfcTS_ioctl()
511 ScsiPassThruCmnd->request.CPQFC_WAITING = &wait; in cpqfcTS_ioctl()
513 …scsi_do_cmd(ScsiPassThruCmnd, &vendor_cmd->cdb[0], buf, vendor_cmd->len, my_ioctl_done, 10 * HZ, 1… in cpqfcTS_ioctl()
[all …]