Fixed Test Unit Ready being the culprit of the non-working Read 10.
Made Unknown transfers as invalid but with SCSI Status Good/Ok in the Adaptec 1540. SCSI Commands with no transfers are left with no transfer function.
This commit is contained in:
@@ -19,14 +19,6 @@ uint8_t SCSIDeviceIsPresent(SCSI *Scsi)
|
||||
return (scsi_cdrom_id < 7 && Scsi->LunType != SCSI_NONE);
|
||||
}
|
||||
|
||||
void SCSINoTransfer(SCSI *Scsi, uint8_t Id)
|
||||
{
|
||||
pclog("SCSI: No Transfer\n");
|
||||
SGBUF SegmentBuffer;
|
||||
SegmentBufferInit(&SegmentBuffer, &Scsi->SegmentData, 1);
|
||||
pfnIoRequestCopyFromBuffer(0, &SegmentBuffer, Scsi->SegmentData.Length);
|
||||
}
|
||||
|
||||
void SCSIReadTransfer(SCSI *Scsi, uint8_t Id)
|
||||
{
|
||||
if (Scsi->LunType == SCSI_CDROM)
|
||||
|
||||
Reference in New Issue
Block a user