Module Name:    src
Committed By:   msaitoh
Date:           Tue Jul  9 12:13:42 UTC 2019

Modified Files:
        src/sys/dev/pci: pci_subr.c ppb.c

Log Message:
Identify 16GT/s.


To generate a diff of this commit:
cvs rdiff -u -r1.212 -r1.213 src/sys/dev/pci/pci_subr.c
cvs rdiff -u -r1.68 -r1.69 src/sys/dev/pci/ppb.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/pci_subr.c
diff -u src/sys/dev/pci/pci_subr.c:1.212 src/sys/dev/pci/pci_subr.c:1.213
--- src/sys/dev/pci/pci_subr.c:1.212	Fri Mar  1 09:26:00 2019
+++ src/sys/dev/pci/pci_subr.c	Tue Jul  9 12:13:42 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: pci_subr.c,v 1.212 2019/03/01 09:26:00 msaitoh Exp $	*/
+/*	$NetBSD: pci_subr.c,v 1.213 2019/07/09 12:13:42 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.212 2019/03/01 09:26:00 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.213 2019/07/09 12:13:42 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -1688,7 +1688,7 @@ pci_print_pcie_compl_timeout(uint32_t va
 	}
 }
 
-static const char * const pcie_linkspeeds[] = {"2.5", "5.0", "8.0"};
+static const char * const pcie_linkspeeds[] = {"2.5", "5.0", "8.0", "16.0"};
 
 /*
  * Print link speed. This function is used for the following register bits:

Index: src/sys/dev/pci/ppb.c
diff -u src/sys/dev/pci/ppb.c:1.68 src/sys/dev/pci/ppb.c:1.69
--- src/sys/dev/pci/ppb.c:1.68	Fri Mar  1 09:26:00 2019
+++ src/sys/dev/pci/ppb.c	Tue Jul  9 12:13:42 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: ppb.c,v 1.68 2019/03/01 09:26:00 msaitoh Exp $	*/
+/*	$NetBSD: ppb.c,v 1.69 2019/07/09 12:13:42 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 1996, 1998 Christopher G. Demetriou.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ppb.c,v 1.68 2019/03/01 09:26:00 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ppb.c,v 1.69 2019/07/09 12:13:42 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ppb.h"
@@ -62,8 +62,8 @@ __KERNEL_RCSID(0, "$NetBSD: ppb.c,v 1.68
 	(PCIE_SLCSR_ABP | PCIE_SLCSR_PFD | PCIE_SLCSR_MSC |	\
 	 PCIE_SLCSR_PDC | PCIE_SLCSR_CC | PCIE_SLCSR_LACS)
 
-static const char pcie_linkspeed_strings[4][5] = {
-	"1.25", "2.5", "5.0", "8.0",
+static const char pcie_linkspeed_strings[5][5] = {
+	"1.25", "2.5", "5.0", "8.0", "16.0"
 };
 
 int	ppb_printevent = 0; /* Print event type if the value is not 0 */

Reply via email to