From e1d8b631f6b63cdac9cdec88f660d73373dec727 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Tue, 23 Jul 2019 16:28:17 +0000 Subject: [PATCH] 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 --- usr.sbin/pciconf/cap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.sbin/pciconf/cap.c b/usr.sbin/pciconf/cap.c index 03490e42324..a6309a52e1c 100644 --- a/usr.sbin/pciconf/cap.c +++ b/usr.sbin/pciconf/cap.c @@ -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"); }