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 Explicitly initialise up_serialise to true
details: https://anonhg.NetBSD.org/src/rev/2ee1bb1384c6
branches: nick-nhusb
changeset: 334498:2ee1bb1384c6
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Apr 16 15:11:45 2016 +0000
description:
Explicitly initialise up_serialise to true
diffstat:
sys/dev/usb/usb_subr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r e6e2d185aa97 -r 2ee1bb1384c6 sys/dev/usb/usb_subr.c
--- a/sys/dev/usb/usb_subr.c Sat Apr 16 14:04:55 2016 +0000
+++ b/sys/dev/usb/usb_subr.c Sat Apr 16 15:11:45 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usb_subr.c,v 1.198.2.26 2016/03/19 07:12:21 skrll Exp $ */
+/* $NetBSD: usb_subr.c,v 1.198.2.27 2016/04/16 15:11:45 skrll Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.26 2016/03/19 07:12:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usb_subr.c,v 1.198.2.27 2016/04/16 15:11:45 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -793,6 +793,7 @@
p->up_repeat = 0;
p->up_interval = ival;
p->up_flags = flags;
+ p->up_serialise = true;
SIMPLEQ_INIT(&p->up_queue);
err = dev->ud_bus->ub_methods->ubm_open(p);
if (err) {
Home |
Main Index |
Thread Index |
Old Index