Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 2019 16:28:17 +0000 (UTC)
From:      Andrew Gallatin <gallatin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350245 - head/usr.sbin/pciconf
Message-ID:  <201907231628.x6NGSHvc046620@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gallatin
Date: Tue Jul 23 16:28:17 2019
New Revision: 350245
URL: https://svnweb.freebsd.org/changeset/base/350245

Log:
  pciconf: report PCI Gen4 speeds
  
  PCIe gen4 runs at 16GT/s.  Report this as
  the speed of Gen4 links.
  
  Reviewed by:	imp
  MFC after:	7 days
  Sponsored by:	Netflix

Modified:
  head/usr.sbin/pciconf/cap.c

Modified: head/usr.sbin/pciconf/cap.c
==============================================================================
--- head/usr.sbin/pciconf/cap.c	Tue Jul 23 16:27:36 2019	(r350244)
+++ head/usr.sbin/pciconf/cap.c	Tue Jul 23 16:28:17 2019	(r350245)
@@ -389,6 +389,8 @@ link_speed_string(uint8_t speed)
 		return ("5.0");
 	case 3:
 		return ("8.0");
+	case 4:
+		return ("16.0");
 	default:
 		return ("undef");
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907231628.x6NGSHvc046620>