IDE: Status now once again returns 0x00 on an absent slave with a present master, fixes #4843.

This commit is contained in:
OBattler
2024-09-22 05:44:25 +02:00
parent 1c03839965
commit 3556232c21

View File

@@ -1901,8 +1901,7 @@ ide_status(ide_t *ide, ide_t *ide_other, int ch)
/* On real hardware, a slave with a present master always
returns a status of 0x00.
Confirmed by the ATA-3 and ATA-4 specifications. */
// ret = 0x00;
ret = 0x01;
ret = 0x00;
} else {
ret = ide->tf->atastat;
if (ide->type == IDE_ATAPI)