aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2004-01-12 21:05:06 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2004-01-12 21:05:06 +0000
commita14b52fe81a296e3c2409d44699c6e485bc405f4 (patch)
tree7447ae6c01b2a542920de30b4d8a70df20661020 /sys/dev
parent716b5b3580dd140cd24da2bfb724bab7ae0173ef (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ida/ida.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c
index 43ddf59d912fe..c2460ad15f7f5 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);