Add Gen3 PCIe speed (8GT/s) to lspci
PATCH 1/1 Add Gen3 PCIe speed (8GT/s) to lspci
Patch 1 of 1
Right now lspci shows "Speed unknown" for PCIe Gen3 links. This two liner adds 8GT/s to fix that. I don't think the next link rate has yet been decided. So I only go to Gen3.
Tested on PCIe Gen1, Gen2, and Gen3 systems.
From: Mike Miller <[email protected]>
Signed-off-by Mike Miller <[email protected]>
--- ls-caps.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
ls-caps.c +2 -0
@@ -717,6 +717,8 @@ static char *link_speed(int speed)return "2.5GT/s" ;case 2 :return "5GT/s" ; +case 3 : +return "8GT/s" ;default :return "unknown" ; }