Skip to content

Commit

Permalink
pciconf: report PCI Gen4 speeds
Browse files Browse the repository at this point in the history
PCIe gen4 runs at 16GT/s.  Report this as
the speed of Gen4 links.

Reviewed by:	imp
MFC after:	7 days
Sponsored by:	Netflix
  • Loading branch information
gallatin authored and gallatin committed Jul 23, 2019
1 parent baac2f0 commit 0398fca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr.sbin/pciconf/cap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 0398fca

Please sign in to comment.