IDE soft reset should also reset ATAPI devices. Should fix at least some 'Device failed to request command' errors.

This commit is contained in:
SarahW 2019-04-14 13:47:20 +01:00
commit 9a49a75eaf
8 changed files with 52 additions and 0 deletions

View file

@ -819,6 +819,7 @@ void callbackide(int ide_board)
{
ide->cylinder=0xEB14;
atapi->stop();
atapi_reset(&ide->atapi);
}
if (ide->type == IDE_NONE)
{
@ -829,6 +830,7 @@ void callbackide(int ide_board)
{
ide_other->cylinder=0xEB14;
atapi->stop();
atapi_reset(&ide_other->atapi);
}
if (ide_other->type == IDE_NONE)
{