Restore common version of this file

This commit is contained in:
akuker 2020-07-18 15:33:45 -05:00
parent f610c7f284
commit 4b8877af56
1 changed files with 16 additions and 17 deletions

View File

@ -6404,12 +6404,12 @@ void FASTCALL SASIDEV::BusFree()
// Phase Setting
ctrl.phase = BUS::busfree;
////////////// // Set Signal lines
////////////// ctrl.bus->SetREQ(FALSE);
////////////// ctrl.bus->SetMSG(FALSE);
////////////// ctrl.bus->SetCD(FALSE);
////////////// ctrl.bus->SetIO(FALSE);
////////////// ctrl.bus->SetBSY(FALSE);
// Set Signal lines
ctrl.bus->SetREQ(FALSE);
ctrl.bus->SetMSG(FALSE);
ctrl.bus->SetCD(FALSE);
ctrl.bus->SetIO(FALSE);
ctrl.bus->SetBSY(FALSE);
// Initialize status and message
ctrl.status = 0x00;
@ -6490,10 +6490,10 @@ void FASTCALL SASIDEV::Command()
// Phase Setting
ctrl.phase = BUS::command;
////////// // Signal line operated by the target
////////// ctrl.bus->SetMSG(FALSE);
////////// ctrl.bus->SetCD(TRUE);
////////// ctrl.bus->SetIO(FALSE);
// Signal line operated by the target
ctrl.bus->SetMSG(FALSE);
ctrl.bus->SetCD(TRUE);
ctrl.bus->SetIO(FALSE);
// Wait until target sets the following condition:
// MSG = FALSE
@ -8114,13 +8114,12 @@ void FASTCALL SCSIDEV::BusFree()
// Phase setting
ctrl.phase = BUS::busfree;
////////// // Signal line
// We shouldn't be setting ANYTHING
////////// ctrl.bus->SetREQ(FALSE);
////////// ctrl.bus->SetMSG(FALSE);
////////// ctrl.bus->SetCD(FALSE);
////////// ctrl.bus->SetIO(FALSE);
////////// ctrl.bus->SetBSY(FALSE);
// Signal line
ctrl.bus->SetREQ(FALSE);
ctrl.bus->SetMSG(FALSE);
ctrl.bus->SetCD(FALSE);
ctrl.bus->SetIO(FALSE);
ctrl.bus->SetBSY(FALSE);
// Initialize status and message
ctrl.status = 0x00;