linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] pciutils: add 8TB/s to link capabilities
@ 2011-12-06 19:16 Mike Miller
  2011-12-06 19:53 ` Martin Mares
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Miller @ 2011-12-06 19:16 UTC (permalink / raw)
  To: mj; +Cc: linux-pci

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.

From: Mike Miller <mike.miller@hp.com>
Signed-off-by: Mike Miller <mike.miller@hp.com>

---
 ls-caps.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ls-caps.c b/ls-caps.c
index a4bf713..d8862b4 100644
--- a/ls-caps.c
+++ b/ls-caps.c
@@ -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";
     }

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-06 20:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 19:16 [PATCH 1/1] pciutils: add 8TB/s to link capabilities Mike Miller
2011-12-06 19:53 ` Martin Mares
2011-12-06 20:26   ` Mike Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).