mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-13 02:29:46 +00:00
scsibus: Change control lines for MESSAGE_IN.
This commit is contained in:
parent
6e4544450e
commit
ff9b8a59e2
|
@ -145,6 +145,9 @@ int ScsiBus::switch_phase(int id, int new_phase)
|
|||
case ScsiPhase::MESSAGE_OUT:
|
||||
this->release_ctrl_line(id, SCSI_CTRL_CD | SCSI_CTRL_MSG);
|
||||
break;
|
||||
case ScsiPhase::MESSAGE_IN:
|
||||
this->release_ctrl_line(id, SCSI_CTRL_CD | SCSI_CTRL_MSG | SCSI_CTRL_IO);
|
||||
break;
|
||||
}
|
||||
|
||||
// enter new phase (low-level)
|
||||
|
@ -161,6 +164,9 @@ int ScsiBus::switch_phase(int id, int new_phase)
|
|||
case ScsiPhase::MESSAGE_OUT:
|
||||
this->assert_ctrl_line(id, SCSI_CTRL_CD | SCSI_CTRL_MSG);
|
||||
break;
|
||||
case ScsiPhase::MESSAGE_IN:
|
||||
this->assert_ctrl_line(id, SCSI_CTRL_CD | SCSI_CTRL_MSG | SCSI_CTRL_IO);
|
||||
break;
|
||||
}
|
||||
|
||||
// switch the bus to the new phase (high-level)
|
||||
|
|
Loading…
Reference in New Issue
Block a user