mb87030: fix SCSI disconnect interrupt (nw)

Previous order of code triggered a state change after
the disconnect, which confused the NETBSD installer. With this
fixed, writing a disklabel to a netbsd chd works.
This commit is contained in:
Sven Schnelle 2018-11-01 20:28:43 +01:00
parent 295ac93d43
commit 89ec478810

View File

@ -420,9 +420,9 @@ void mb87030_device::step(bool timeout)
break;
case State::TransferDeassertACK:
scsi_set_ctrl(0, S_ACK);
scsi_bus->ctrl_wait(scsi_refid, S_REQ, S_REQ);
update_state(State::TransferWaitReq, 10);
scsi_bus->ctrl_wait(scsi_refid, S_REQ, S_REQ);
scsi_set_ctrl(0, S_ACK);
break;
}