Don't fatal() on AHA-1542C/BT-545S when SCSI device fails to request a command.

This commit is contained in:
SarahW 2017-12-04 18:25:42 +00:00
commit 8af8ab7e8a

View file

@ -1803,7 +1803,11 @@ static void process_scsi(aha154x_t *scsi)
/*Device should now be selected*/
if (!wait_for_bus(&scsi->bus, BUS_CD, 1))
fatal("Device failed to request command\n");
{
pclog("Device failed to request command\n");
scsi->scsi_state = SCSI_STATE_SELECT_FAILED;
break;
}
scsi->scsi_state = SCSI_STATE_SEND_COMMAND;
break;