mirror of
https://github.com/holub/mame
synced 2025-05-08 07:11:42 +03:00
removed test ready command as scsidev already handles it. (nw)
This commit is contained in:
parent
7fc6ec40ec
commit
c7965e69d9
@ -271,16 +271,6 @@ void scsibus_device::scsibus_exec_command()
|
|||||||
// Check for locally executed commands, and if found execute them
|
// Check for locally executed commands, and if found execute them
|
||||||
switch (command[0])
|
switch (command[0])
|
||||||
{
|
{
|
||||||
// Test ready
|
|
||||||
case SCSI_CMD_TEST_READY:
|
|
||||||
LOG(1,"SCSIBUS: test_ready\n");
|
|
||||||
command_local=1;
|
|
||||||
xfer_count=0;
|
|
||||||
data_last=xfer_count;
|
|
||||||
bytes_left=0;
|
|
||||||
devices[last_id]->SetPhase(SCSI_PHASE_STATUS);
|
|
||||||
break;
|
|
||||||
|
|
||||||
// Recalibrate drive
|
// Recalibrate drive
|
||||||
case SCSI_CMD_RECALIBRATE:
|
case SCSI_CMD_RECALIBRATE:
|
||||||
LOG(1,"SCSIBUS: Recalibrate drive\n");
|
LOG(1,"SCSIBUS: Recalibrate drive\n");
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
#define ADAPTEC_BUF_SIZE 1024
|
#define ADAPTEC_BUF_SIZE 1024
|
||||||
|
|
||||||
// scsidev
|
// scsidev
|
||||||
#define SCSI_CMD_TEST_READY 0x00
|
|
||||||
#define SCSI_CMD_RECALIBRATE 0x01
|
#define SCSI_CMD_RECALIBRATE 0x01
|
||||||
#define SCSI_CMD_REQUEST_SENSE 0x03
|
#define SCSI_CMD_REQUEST_SENSE 0x03
|
||||||
#define SCSI_CMD_MODE_SELECT 0x15
|
#define SCSI_CMD_MODE_SELECT 0x15
|
||||||
|
Loading…
Reference in New Issue
Block a user