Module Name: src
Committed By: skrll
Date: Sat Feb 27 15:48:36 UTC 2016
Modified Files:
src/sys/dev/usb [nick-nhusb]: ohci.c
Log Message:
An std is "done" when it's not inflight. Mark it done when it's first
allocated.
To generate a diff of this commit:
cvs rdiff -u -r1.254.2.51 -r1.254.2.52 src/sys/dev/usb/ohci.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/ohci.c
diff -u src/sys/dev/usb/ohci.c:1.254.2.51 src/sys/dev/usb/ohci.c:1.254.2.52
--- src/sys/dev/usb/ohci.c:1.254.2.51 Sat Feb 27 15:47:18 2016
+++ src/sys/dev/usb/ohci.c Sat Feb 27 15:48:36 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: ohci.c,v 1.254.2.51 2016/02/27 15:47:18 skrll Exp $ */
+/* $NetBSD: ohci.c,v 1.254.2.52 2016/02/27 15:48:36 skrll Exp $ */
/*
* Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.51 2016/02/27 15:47:18 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.52 2016/02/27 15:48:36 skrll Exp $");
#include "opt_usb.h"
@@ -795,7 +795,7 @@ ohci_alloc_sitd(ohci_softc_t *sc)
sitd->xfer = NULL;
#ifdef DIAGNOSTIC
- sitd->isdone = false;
+ sitd->isdone = true;
#endif
return sitd;