Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Default to USBREV_3_0 if usbrev is unknown.
details: https://anonhg.NetBSD.org/src/rev/69b1a3008c69
branches: trunk
changeset: 447599:69b1a3008c69
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jan 18 07:03:02 2019 +0000
description:
Default to USBREV_3_0 if usbrev is unknown.
diffstat:
sys/dev/pci/xhci_pci.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 533061950374 -r 69b1a3008c69 sys/dev/pci/xhci_pci.c
--- a/sys/dev/pci/xhci_pci.c Fri Jan 18 06:28:09 2019 +0000
+++ b/sys/dev/pci/xhci_pci.c Fri Jan 18 07:03:02 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci_pci.c,v 1.19 2018/12/07 08:28:44 msaitoh Exp $ */
+/* $NetBSD: xhci_pci.c,v 1.20 2019/01/18 07:03:02 skrll Exp $ */
/* OpenBSD: xhci_pci.c,v 1.4 2014/07/12 17:38:51 yuo Exp */
/*
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci_pci.c,v 1.19 2018/12/07 08:28:44 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci_pci.c,v 1.20 2019/01/18 07:03:02 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_xhci_pci.h"
@@ -227,9 +227,9 @@
break;
default:
if (usbrev < PCI_USBREV_3_0) {
- aprint_error_dev(self, "Unknown revision (%02x)\n",
+ aprint_error_dev(self, "Unknown revision (%02x). Set to 3.0.\n",
usbrev);
- sc->sc_bus.ub_revision = USBREV_UNKNOWN;
+ sc->sc_bus.ub_revision = USBREV_3_0;
} else {
/* Default to the latest revision */
aprint_normal_dev(self,
Home |
Main Index |
Thread Index |
Old Index