IDE soft reset should also reset ATAPI devices. Should fix at least some 'Device failed to request command' errors.
This commit is contained in:
parent
de177759f7
commit
9a49a75eaf
8 changed files with 52 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue