Module Name: src
Committed By: jakllsch
Date: Thu Aug 30 13:13:24 UTC 2018
Modified Files:
src/sys/dev/usb: xhci.c
Log Message:
silence "not known to be supported" message for all version 1.x xHCIs
To generate a diff of this commit:
cvs rdiff -u -r1.96 -r1.97 src/sys/dev/usb/xhci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/xhci.c
diff -u src/sys/dev/usb/xhci.c:1.96 src/sys/dev/usb/xhci.c:1.97
--- src/sys/dev/usb/xhci.c:1.96 Thu Aug 9 06:26:47 2018
+++ src/sys/dev/usb/xhci.c Thu Aug 30 13:13:24 2018
@@ -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 @@ xhci_init(struct xhci_softc *sc)
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);