Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb Initialise ex_isrunning in ehci_device_isoc...



details:   https://anonhg.NetBSD.org/src/rev/b8b2983e405b
branches:  nick-nhusb
changeset: 334418:b8b2983e405b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Feb 27 16:53:22 2016 +0000

description:
Initialise ex_isrunning in ehci_device_isoc_init.  No real functional
change as the memory was zeroised.

diffstat:

 sys/dev/usb/ehci.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 5e55fe1e24b6 -r b8b2983e405b sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Sat Feb 27 16:07:01 2016 +0000
+++ b/sys/dev/usb/ehci.c        Sat Feb 27 16:53:22 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.88 2016/02/21 07:04:13 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.89 2016/02/27 16:53:22 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.88 2016/02/21 07:04:13 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.89 2016/02/27 16:53:22 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -4720,6 +4720,7 @@
        KASSERT(exfer->ex_isdone);
 
        exfer->ex_type = EX_ISOC;
+       exfer->ex_isrunning = false;
 
        /*
         * Step 1: Allocate and initialize itds, how many do we need?



Home | Main Index | Thread Index | Old Index