diff options
Diffstat (limited to 'sys/dev/ida/ida.c')
-rw-r--r-- | sys/dev/ida/ida.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c index 43ddf59..c2460ad 100644 --- a/sys/dev/ida/ida.c +++ b/sys/dev/ida/ida.c @@ -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); |