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:
Marcus Overhagen 2007-09-28 21:30:53 +00:00
parent a79249de5b
commit ece77b379a
4 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@
#define SCSIS_ASC_REMOVAL_REQUESTED 0x5a01 // operator requests medium removal #define SCSIS_ASC_REMOVAL_REQUESTED 0x5a01 // operator requests medium removal
// some scsi op-codes // 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_REQUEST_SENSE 0x03
#define SCSI_OP_FORMAT 0x04 #define SCSI_OP_FORMAT 0x04
#define SCSI_OP_READ_6 0x08 #define SCSI_OP_READ_6 0x08

View File

@ -396,7 +396,7 @@ ata_exec_io(ide_device_info *device, ide_qrequest *qrequest)
start_request(device, qrequest); start_request(device, qrequest);
switch (request->cdb[0]) { switch (request->cdb[0]) {
case SCSI_OP_TUR: case SCSI_OP_TEST_UNIT_READY:
ata_test_unit_ready(device, qrequest); ata_test_unit_ready(device, qrequest);
break; break;

View File

@ -31,7 +31,7 @@ scsi_scan_send_tur(scsi_ccb *worker_req)
SHOW_FLOW0( 3, "" ); SHOW_FLOW0( 3, "" );
memset( cmd, 0, sizeof( *cmd )); memset( cmd, 0, sizeof( *cmd ));
cmd->opcode = SCSI_OP_TUR; cmd->opcode = SCSI_OP_TEST_UNIT_READY;
worker_req->sg_list = NULL; worker_req->sg_list = NULL;
worker_req->data = NULL; worker_req->data = NULL;

View File

@ -98,7 +98,7 @@ send_tur(scsi_periph_device_info *device, scsi_ccb *request)
request->sg_list = NULL; request->sg_list = NULL;
memset(cmd, 0, sizeof(*cmd)); memset(cmd, 0, sizeof(*cmd));
cmd->opcode = SCSI_OP_TUR; cmd->opcode = SCSI_OP_TEST_UNIT_READY;
request->cdb_length = sizeof(*cmd); request->cdb_length = sizeof(*cmd);