SCSI fixes of the day (August 8th, 2024)

SCSI CD-ROM: request sense command should preserve its sense data unless a different command is issued, fixes DOS hanging with a blinking cursor using CDSCSI-2.sys for the 53c9x MCA card when there's no CD inside, making its no length Data In hack no longer needed.
This commit is contained in:
TC1995
2024-08-08 01:20:29 +02:00
parent 479ab87f17
commit 1e82bd88a1
2 changed files with 4 additions and 7 deletions

View File

@@ -545,10 +545,6 @@ esp_do_command_phase(esp_t *dev)
esp_log("ESP SCSI Start reading/writing\n");
esp_do_dma(dev);
} else {
if (dev->mca && (buf[0] == 0x43) && (sd->phase == SCSI_PHASE_STATUS)) {
esp_set_phase(dev, STAT_DI);
scsi_device_command_phase1(sd);
}
esp_log("ESP SCSI Command with no length\n");
esp_command_complete(dev, sd->status);
}