Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix polling mode and USB keyboards in ddb



details:   https://anonhg.NetBSD.org/src/rev/832bf6939cff
branches:  trunk
changeset: 815209:832bf6939cff
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri May 06 05:19:32 2016 +0000

description:
Fix polling mode and USB keyboards in ddb

diffstat:

 sys/dev/usb/usbdi.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 3ec062a786e9 -r 832bf6939cff sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c       Fri May 06 04:55:10 2016 +0000
+++ b/sys/dev/usb/usbdi.c       Fri May 06 05:19:32 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdi.c,v 1.169 2016/04/23 10:15:32 skrll Exp $        */
+/*     $NetBSD: usbdi.c,v 1.170 2016/05/06 05:19:32 skrll Exp $        */
 
 /*
  * Copyright (c) 1998, 2012, 2015 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.169 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.170 2016/05/06 05:19:32 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -910,10 +910,6 @@
        KASSERT(xfer->ux_state == XFER_ONQU);
        KASSERT(pipe != NULL);
 
-       /* XXXX */
-       if (polling)
-               pipe->up_running = 0;
-
        if (!repeat) {
                /* Remove request from queue. */
 



Home | Main Index | Thread Index | Old Index