summaryrefslogtreecommitdiff
path: root/usr.sbin/pcidump/pcidump.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2012-05-16 12:58:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2012-05-16 12:58:40 +0000
commitdb0d4336ece2fb546ee016decaf3ea5dc9329b9e (patch)
treed7403c6705fd8abf15fb314c9f3aab1217370a12 /usr.sbin/pcidump/pcidump.c
parent31e21f5b57f1b228d5fed5d96b36976df78a35e2 (diff)
recognise 8.0 GT/s link speed for PCI Express 3.0
Diffstat (limited to 'usr.sbin/pcidump/pcidump.c')
-rw-r--r--usr.sbin/pcidump/pcidump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pcidump/pcidump.c b/usr.sbin/pcidump/pcidump.c
index 87b4499ddf4..9d55be38b74 100644
--- a/usr.sbin/pcidump/pcidump.c
+++ b/usr.sbin/pcidump/pcidump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pcidump.c,v 1.29 2011/01/13 14:29:26 jsg Exp $ */
+/* $OpenBSD: pcidump.c,v 1.30 2012/05/16 12:58:39 jsg Exp $ */
/*
* Copyright (c) 2006, 2007 David Gwynne <loki@animata.net>
@@ -289,6 +289,9 @@ print_pcie_ls(uint8_t speed)
case 2:
printf("5.0");
break;
+ case 3:
+ printf("8.0");
+ break;
default:
printf("unknown (%d)", speed);
}