1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00

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@
This commit is contained in:
jsg 2017-05-18 05:12:34 +00:00
parent af9839d3b1
commit d1a52e20c0

View File

@ -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",
};