pciutils/pciutils-3.7.0-pcie6datarate2of2.patch
2024-10-31 16:57:43 +01:00

17 lines
476 B
Diff

diff --git a/ls-caps.c b/ls-caps.c
index fce9502b..2c99812c 100644
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -1191,8 +1191,10 @@ static const char *cap_express_link2_speed_cap(int vector)
* permitted to skip support for any data rates between 2.5GT/s and the
* highest supported rate.
*/
- if (vector & 0x60)
+ if (vector & 0x40)
return "RsvdP";
+ if (vector & 0x20)
+ return "2.5-64GT/s";
if (vector & 0x10)
return "2.5-32GT/s";
if (vector & 0x08)