Handle "Bad Command List" errors.

No error status is returned by the adapter so set CMD_REJECTED so that
ida_done() will DTRT.
This commit is contained in:
mdodd 2004-01-12 21:05:06 +00:00
parent 2c0e413ccc
commit 8b65f172e7

View File

@ -483,6 +483,9 @@ ida_intr(void *data)
"ignoring completion %jx\n", (intmax_t)completed);
continue;
}
/* Handle "Bad Command List" errors. */
if ((completed & 3) && (qcb->hwqcb->req.error == 0))
qcb->hwqcb->req.error = CMD_REJECTED;
ida_done(ida, qcb);
}
ida_start(ida);