Module Name: src Committed By: skrll Date: Fri Jan 18 07:03:02 UTC 2019
Modified Files: src/sys/dev/pci: xhci_pci.c Log Message: Default to USBREV_3_0 if usbrev is unknown. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/xhci_pci.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/pci/xhci_pci.c diff -u src/sys/dev/pci/xhci_pci.c:1.19 src/sys/dev/pci/xhci_pci.c:1.20 --- src/sys/dev/pci/xhci_pci.c:1.19 Fri Dec 7 08:28:44 2018 +++ src/sys/dev/pci/xhci_pci.c Fri Jan 18 07:03:02 2019 @@ -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 @@ xhci_pci_attach(device_t parent, device_ 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,