svn commit: r350527 - stable/12/usr.sbin/pciconf

Andrew Gallatin gallatin at FreeBSD.org
Fri Aug 2 00:13:12 UTC 2019


Author: gallatin
Date: Fri Aug  2 00:13:11 2019
New Revision: 350527
URL: https://svnweb.freebsd.org/changeset/base/350527

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

Modified:
  stable/12/usr.sbin/pciconf/cap.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.sbin/pciconf/cap.c
==============================================================================
--- stable/12/usr.sbin/pciconf/cap.c	Thu Aug  1 23:28:54 2019	(r350526)
+++ stable/12/usr.sbin/pciconf/cap.c	Fri Aug  2 00:13:11 2019	(r350527)
@@ -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