Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Identify 16GT/s.
details: https://anonhg.NetBSD.org/src/rev/669888dcfc56
branches: trunk
changeset: 1000127:669888dcfc56
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jul 09 12:13:42 2019 +0000
description:
Identify 16GT/s.
diffstat:
sys/dev/pci/pci_subr.c | 6 +++---
sys/dev/pci/ppb.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 59f8634ddcb4 -r 669888dcfc56 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c Tue Jul 09 12:09:18 2019 +0000
+++ b/sys/dev/pci/pci_subr.c Tue Jul 09 12:13:42 2019 +0000
@@ -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 @@
}
}
-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:
diff -r 59f8634ddcb4 -r 669888dcfc56 sys/dev/pci/ppb.c
--- a/sys/dev/pci/ppb.c Tue Jul 09 12:09:18 2019 +0000
+++ b/sys/dev/pci/ppb.c Tue Jul 09 12:13:42 2019 +0000
@@ -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 @@
(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 */
Home |
Main Index |
Thread Index |
Old Index