Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb silence "not known to be supported" message for ...



details:   https://anonhg.NetBSD.org/src/rev/7cc3de7ac0a6
branches:  trunk
changeset: 835589:7cc3de7ac0a6
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Aug 30 13:13:24 2018 +0000

description:
silence "not known to be supported" message for all version 1.x xHCIs

diffstat:

 sys/dev/usb/xhci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 070014ac0edf -r 7cc3de7ac0a6 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Thu Aug 30 12:06:06 2018 +0000
+++ b/sys/dev/usb/xhci.c        Thu Aug 30 13:13:24 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.96 2018/08/09 06:26:47 mrg Exp $    */
+/*     $NetBSD: xhci.c,v 1.97 2018/08/30 13:13:24 jakllsch Exp $       */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.96 2018/08/09 06:26:47 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.97 2018/08/30 13:13:24 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -938,7 +938,7 @@
        hciversion = XHCI_CAP_HCIVERSION(cap);
 
        if (hciversion < XHCI_HCIVERSION_0_96 ||
-           hciversion > XHCI_HCIVERSION_1_0) {
+           hciversion >= 0x0200) {
                aprint_normal_dev(sc->sc_dev,
                    "xHCI version %x.%x not known to be supported\n",
                    (hciversion >> 8) & 0xff, (hciversion >> 0) & 0xff);



Home | Main Index | Thread Index | Old Index