svn commit: r350245 - head/usr.sbin/pciconf

Andrew Gallatin gallatin at FreeBSD.org
Tue Jul 23 16:28:18 UTC 2019


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");
 	}


More information about the svn-src-all mailing list