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 Revert 1.126.2.12 partially: fix some devic...



details:   https://anonhg.NetBSD.org/src/rev/4c4622f76139
branches:  nick-nhusb
changeset: 334480:4c4622f76139
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Apr 10 15:44:56 2016 +0000

description:
Revert 1.126.2.12 partially: fix some devices ware not recognized.
uhub would give up enumeration too quickly.

>From Takahiro HAYASHI

diffstat:

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

diffs (26 lines):

diff -r dafb084e56f1 -r 4c4622f76139 sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c        Sun Apr 10 15:42:43 2016 +0000
+++ b/sys/dev/usb/uhub.c        Sun Apr 10 15:44:56 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhub.c,v 1.126.2.27 2016/04/10 15:42:43 skrll Exp $    */
+/*     $NetBSD: uhub.c,v 1.126.2.28 2016/04/10 15:44:56 skrll Exp $    */
 /*     $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $       */
 /*     $OpenBSD: uhub.c,v 1.86 2015/06/29 18:27:40 mpi Exp $ */
 
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.126.2.27 2016/04/10 15:42:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.126.2.28 2016/04/10 15:44:56 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -637,7 +637,6 @@
                        usb_disconnect_port(up, sc->sc_dev, DETACH_FORCE);
                        usbd_clear_port_feature(dev, port,
                                                UHF_C_PORT_CONNECTION);
-                       continue;
                }
                if (!(status & UPS_CURRENT_CONNECT_STATUS)) {
                        /* Nothing connected, just ignore it. */



Home | Main Index | Thread Index | Old Index