summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-04-22 05:08:35 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-04-22 05:08:35 +0000
commitc61235c101e5bdb5696e80c9d298b644ced0819c (patch)
treece439383634f5976784db57fdd62f68727d52dd8
parentf1541e5b98b86b3eb5892a24b07ddee99dc0a601 (diff)
mark the ccb used for error handling as complete when it completes. this
prevents dmesg spam when we return this ccb to the free list.
-rw-r--r--sys/dev/pci/ahci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c
index 8e04bdf9c85..c6b165838a6 100644
--- a/sys/dev/pci/ahci.c
+++ b/sys/dev/pci/ahci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahci.c,v 1.115 2007/04/22 05:03:04 dlg Exp $ */
+/* $OpenBSD: ahci.c,v 1.116 2007/04/22 05:08:34 dlg Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -2419,5 +2419,5 @@ ret:
void
ahci_empty_done(struct ahci_ccb *ccb)
{
- /* do nothing */
+ ccb->ccb_xa.state = ATA_S_COMPLETE;
}