From 583d5261728416c20ef6a6849f1d6291fa4e305a Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Thu, 18 May 2017 05:12:35 +0000 Subject: 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@ --- usr.sbin/pcidump/pcidump.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ -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", }; -- cgit v1.2.3