diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-18 05:12:35 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2017-05-18 05:12:35 +0000 |
commit | 583d5261728416c20ef6a6849f1d6291fa4e305a (patch) | |
tree | 613e73afdbf5dcf6a7f2b94a2de601935178dc09 | |
parent | c0acf5676c4306e559ede88f209a420b99a297df (diff) |
When an array of PCIe extended cability strings was added it missed
some offsets, leading to the wrong strings being used in some cases.
Add the missing strings.
ok mpi@ deraadt@ millert@
-rw-r--r-- | usr.sbin/pcidump/pcidump.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pcidump/pcidump.c b/usr.sbin/pcidump/pcidump.c index 2acd7b209df..8585ac8664c 100644 --- a/usr.sbin/pcidump/pcidump.c +++ b/usr.sbin/pcidump/pcidump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcidump.c,v 1.43 2017/03/25 07:33:46 mlarkin Exp $ */ +/* $OpenBSD: pcidump.c,v 1.44 2017/05/18 05:12:34 jsg Exp $ */ /* * Copyright (c) 2006, 2007 David Gwynne <loki@animata.net> @@ -131,7 +131,9 @@ const char *pci_enhanced_capnames[] = { "Secondary PCIe Capability", "Protocol Multiplexing", "Process Address Space ID", + "Unknown", "Downstream Port Containment", + "L1 PM", "Precision Time Measurement", }; |