renamed SCSI_OP_TUR into SCSI_OP_TEST_UNIT_READY
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22356 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a79249de5b
commit
ece77b379a
@ -122,7 +122,7 @@
|
||||
#define SCSIS_ASC_REMOVAL_REQUESTED 0x5a01 // operator requests medium removal
|
||||
|
||||
// some scsi op-codes
|
||||
#define SCSI_OP_TUR 0x00
|
||||
#define SCSI_OP_TEST_UNIT_READY 0x00
|
||||
#define SCSI_OP_REQUEST_SENSE 0x03
|
||||
#define SCSI_OP_FORMAT 0x04
|
||||
#define SCSI_OP_READ_6 0x08
|
||||
|
@ -396,7 +396,7 @@ ata_exec_io(ide_device_info *device, ide_qrequest *qrequest)
|
||||
start_request(device, qrequest);
|
||||
|
||||
switch (request->cdb[0]) {
|
||||
case SCSI_OP_TUR:
|
||||
case SCSI_OP_TEST_UNIT_READY:
|
||||
ata_test_unit_ready(device, qrequest);
|
||||
break;
|
||||
|
||||
|
@ -31,7 +31,7 @@ scsi_scan_send_tur(scsi_ccb *worker_req)
|
||||
SHOW_FLOW0( 3, "" );
|
||||
|
||||
memset( cmd, 0, sizeof( *cmd ));
|
||||
cmd->opcode = SCSI_OP_TUR;
|
||||
cmd->opcode = SCSI_OP_TEST_UNIT_READY;
|
||||
|
||||
worker_req->sg_list = NULL;
|
||||
worker_req->data = NULL;
|
||||
|
@ -98,7 +98,7 @@ send_tur(scsi_periph_device_info *device, scsi_ccb *request)
|
||||
request->sg_list = NULL;
|
||||
|
||||
memset(cmd, 0, sizeof(*cmd));
|
||||
cmd->opcode = SCSI_OP_TUR;
|
||||
cmd->opcode = SCSI_OP_TEST_UNIT_READY;
|
||||
|
||||
request->cdb_length = sizeof(*cmd);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user