Module Name: src Committed By: msaitoh Date: Mon Aug 5 07:53:31 UTC 2013
Modified Files: src/sys/dev/pci: pci_subr.c Log Message: One more Gb/s -> GT/s fix. To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/dev/pci/pci_subr.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.105 src/sys/dev/pci/pci_subr.c:1.106 --- src/sys/dev/pci/pci_subr.c:1.105 Sun Apr 21 23:54:44 2013 +++ src/sys/dev/pci/pci_subr.c Mon Aug 5 07:53:31 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: pci_subr.c,v 1.105 2013/04/21 23:54:44 msaitoh Exp $ */ +/* $NetBSD: pci_subr.c,v 1.106 2013/08/05 07:53:31 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.105 2013/04/21 23:54:44 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.106 2013/08/05 07:53:31 msaitoh Exp $"); #ifdef _KERNEL_OPT #include "opt_pci.h" @@ -1108,7 +1108,7 @@ pci_conf_print_pcie_cap(const pcireg_t * printf("unknown %u value\n", (unsigned int)(reg & PCIE_LCSR_LINKSPEED) >> 16); } else { - printf("%sGb/s\n", + printf("%sGT/s\n", linkspeeds[((reg & PCIE_LCSR_LINKSPEED) >> 16) - 1]); } printf(" Negotiated Link Width: x%u lanes\n",