From ece77b379af4fd9cb1d712663620afb84523d443 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Fri, 28 Sep 2007 21:30:53 +0000 Subject: [PATCH] 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 --- headers/private/drivers/scsi_cmds.h | 2 +- src/add-ons/kernel/bus_managers/ide/scsi2ata.c | 2 +- src/add-ons/kernel/bus_managers/scsi/device_scan.c | 2 +- src/add-ons/kernel/generic/scsi_periph/removable.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/headers/private/drivers/scsi_cmds.h b/headers/private/drivers/scsi_cmds.h index 73ebfe839e..3231029175 100644 --- a/headers/private/drivers/scsi_cmds.h +++ b/headers/private/drivers/scsi_cmds.h @@ -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 diff --git a/src/add-ons/kernel/bus_managers/ide/scsi2ata.c b/src/add-ons/kernel/bus_managers/ide/scsi2ata.c index 85d68d450e..618e95c610 100644 --- a/src/add-ons/kernel/bus_managers/ide/scsi2ata.c +++ b/src/add-ons/kernel/bus_managers/ide/scsi2ata.c @@ -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; diff --git a/src/add-ons/kernel/bus_managers/scsi/device_scan.c b/src/add-ons/kernel/bus_managers/scsi/device_scan.c index 525ff2ac27..92a7e390fd 100644 --- a/src/add-ons/kernel/bus_managers/scsi/device_scan.c +++ b/src/add-ons/kernel/bus_managers/scsi/device_scan.c @@ -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; diff --git a/src/add-ons/kernel/generic/scsi_periph/removable.c b/src/add-ons/kernel/generic/scsi_periph/removable.c index 23e0aabf5a..1dc1b4b328 100644 --- a/src/add-ons/kernel/generic/scsi_periph/removable.c +++ b/src/add-ons/kernel/generic/scsi_periph/removable.c @@ -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);