Module Name: src
Committed By: skrll
Date: Sun Mar 13 08:09:00 UTC 2016
Modified Files:
src/sys/dev/usb [nick-nhusb]: uhci.c
Log Message:
KASSERTMSG
To generate a diff of this commit:
cvs rdiff -u -r1.264.4.65 -r1.264.4.66 src/sys/dev/usb/uhci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/uhci.c
diff -u src/sys/dev/usb/uhci.c:1.264.4.65 src/sys/dev/usb/uhci.c:1.264.4.66
--- src/sys/dev/usb/uhci.c:1.264.4.65 Sun Feb 28 16:23:57 2016
+++ src/sys/dev/usb/uhci.c Sun Mar 13 08:09:00 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: uhci.c,v 1.264.4.65 2016/02/28 16:23:57 skrll Exp $ */
+/* $NetBSD: uhci.c,v 1.264.4.66 2016/03/13 08:09:00 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.65 2016/02/28 16:23:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.66 2016/03/13 08:09:00 skrll Exp $");
#include "opt_usb.h"
@@ -1576,6 +1576,8 @@ uhci_idone(struct uhci_xfer *ux, ux_comp
}
#endif
KASSERT(!ux->ux_isdone);
+ KASSERTMSG(!ux->ux_isdone, "xfer %p type %d status %d", xfer,
+ ux->ux_type, xfer->ux_status);
ux->ux_isdone = true;
#endif