Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
pciutils.22837
pciutils-Add-decoding-of-vendor-specific-VPD-fi...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pciutils-Add-decoding-of-vendor-specific-VPD-fields.patch of Package pciutils.22837
From eff7cc9ee7f8b6efeb7d5854abbcfb8cdc486a95 Mon Sep 17 00:00:00 2001 From: "return.0" <return.0@me.com> Date: Mon, 18 Jun 2018 17:00:31 -0500 Subject: [PATCH] pciutils: Add decoding of vendor specific VPD fields References: bsc#1170554 ltc#185587 Upstream: v3.6.0 Git-commit: eff7cc9ee7f8b6efeb7d5854abbcfb8cdc486a95 IBM has defined several VPD fields that are not part of the PCI spec, but are frequently used on embedded and pluggable pcie adapters. Since these fields are "Unknown", they are listed in hex and less readable. This patch adds commonly used vendor specific VPD keywords described in "Table 160. LoPAPR VPD Fields" of the Linux on Power Architecture Platform Reference (LoPAPR). Signed-off-by: John Walthour <return.0@me.com> --- ls-vpd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ls-vpd.c b/ls-vpd.c index b79abfc..cc279c3 100644 --- a/ls-vpd.c +++ b/ls-vpd.c @@ -41,6 +41,19 @@ static const struct vpd_item { { 'Y','A', F_TEXT, "Asset tag" }, { 'V', 0 , F_TEXT, "Vendor specific" }, { 'Y', 0 , F_TEXT, "System specific" }, +/* + * The following VPD keywords are vendor specific or not part of any + * current PCI-SIG specification + */ + { 'C','C', F_TEXT, "CCIN" }, + { 'F','C', F_TEXT, "Feature code" }, + { 'F','N', F_TEXT, "FRU" }, + { 'N','A', F_TEXT, "Network address" }, + { 'R','M', F_TEXT, "Firmware version" }, + { 'Z', 0 , F_TEXT, "Product specific" }, +/* + * End vendor specific VPD keywords + */ { 0, 0 , F_BINARY, "Unknown" } }; -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor