freebsd-dev/usr.sbin/pciconf
David Bright 2f176a2b20 pciconf: Fix up pciconf -lc output
The pciconf command fails to emit newlines when particular ecap field
values are seen. Fix them up. This has been seen on several systems at
$JOB. The documentation for PCI capabilities says that capability
type 0 should not be used once the spec for PCI capabilities was
published, but that seems more wishful-thinking than reality. pciconf
also chooses not to print fields related to field values that are
zero, but it seems several of these fields are zero on actual
hardware.

Reviewed by:	vangyzen, imp, Bret Ketchum (Bret.Ketchum@dell.com)
Sponsored by:	Dell EMC Isilon
Submitted by:	Robert Herndon (Robert.Herndon@dell.com)
Differential Revision: https://reviews.freebsd.org/D30441
2021-06-01 10:55:44 -05:00
..
cap.c pciconf: Fix up pciconf -lc output 2021-06-01 10:55:44 -05:00
err.c
Makefile
Makefile.depend
pathnames.h Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
pciconf.8 Add a compact columnar output format, available by specifying a second '-l' 2020-01-02 06:56:28 +00:00
pciconf.c Create VM_MEMATTR_DEVICE on all architectures 2021-04-12 06:15:31 +00:00
pciconf.h Add accessors for the Vendor Specific Extended Capability (VSEC) 2019-12-13 23:46:59 +00:00