summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac/aac.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-02-07 17:40:38 +0000
committerscottl <scottl@FreeBSD.org>2004-02-07 17:40:38 +0000
commitdb7086ef8b89376fa996d973563879ffcee74967 (patch)
tree8a00cd428c6c80a0e0e6de953fa7493063e2e2ec /sys/dev/aac/aac.c
parentab3b47d9e82c1abc2d8a4f30d131ecbcc677ab53 (diff)
downloadFreeBSD-src-db7086ef8b89376fa996d973563879ffcee74967.zip
FreeBSD-src-db7086ef8b89376fa996d973563879ffcee74967.tar.gz
Do some small cleanups to comments and remove AACQ_COMPLETE definitions since
the completion queue is long-gone.
Diffstat (limited to 'sys/dev/aac/aac.c')
-rw-r--r--sys/dev/aac/aac.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index 7be607b..2fec4cf 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -840,7 +840,7 @@ aac_complete(void *context, int pending)
&fib))
break; /* nothing to do */
- /* get the command, unmap and queue for later processing */
+ /* get the command, unmap and hand off for processing */
cm = sc->aac_commands + fib->Header.SenderData;
if (cm == NULL) {
AAC_PRINT_FIB(sc, fib);
@@ -848,7 +848,7 @@ aac_complete(void *context, int pending)
}
aac_remove_busy(cm);
- aac_unmap_command(cm); /* XXX defer? */
+ aac_unmap_command(cm);
cm->cm_flags |= AAC_CMD_COMPLETED;
/* is there a completion handler? */
@@ -2401,7 +2401,6 @@ aac_ioctl(dev_t dev, u_long cmd, caddr_t arg, int flag, d_thread_t *td)
case AACQ_BIO:
case AACQ_READY:
case AACQ_BUSY:
- case AACQ_COMPLETE:
bcopy(&sc->aac_qstat[as->as_item], &as->as_qstat,
sizeof(struct aac_qstat));
break;
OpenPOWER on IntegriCloud