From: Mike Miller <mike.miller@hp.com>
To: mj@ucw.cz
Cc: linux-pci@vger.kernel.org
Subject: [PATCH 1/1] pciutils: add 8TB/s to link capabilities
Date: Tue, 6 Dec 2011 13:16:05 -0600 [thread overview]
Message-ID: <20111206191605.GA11235@beardog.cce.hp.com> (raw)
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";
}
next reply other threads:[~2011-12-06 19:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 19:16 Mike Miller [this message]
2011-12-06 19:53 ` [PATCH 1/1] pciutils: add 8TB/s to link capabilities Martin Mares
2011-12-06 20:26 ` Mike Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20111206191605.GA11235@beardog.cce.hp.com \
--to=mike.miller@hp.com \
--cc=linux-pci@vger.kernel.org \
--cc=mj@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.