Fixed an IDE log line and fixed a bug in the implementation of the STPC chipsets caused by an erratum in the STPC Atlas programming manual (corrected in the other STPC chipsets' programming manuals).

This commit is contained in:
OBattler
2020-07-11 00:42:38 +02:00
parent 7ebe8f5018
commit 0d2e69142d
2 changed files with 19 additions and 6 deletions

View File

@@ -1051,7 +1051,7 @@ ide_atapi_packet_read(ide_t *ide, int length)
return 0;
if (dev->packet_status == PHASE_DATA_IN)
ide_log("PHASE_DATA_IN read: %i, %i< %i, %i\n", dev->request_pos, dev->max_transfer_len, dev->pos, dev->packet_len);
ide_log("PHASE_DATA_IN read: %i, %i, %i, %i\n", dev->request_pos, dev->max_transfer_len, dev->pos, dev->packet_len);
bufferw = (uint16_t *) dev->temp_buffer;
bufferl = (uint32_t *) dev->temp_buffer;