pciutils/pciutils-VPD-Cleanup.patch
2024-02-05 14:46:39 +08:00

47 lines
1.3 KiB
Diff

From d9b702cde8550b245defa130f3d93a5b34ae68d7 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Tue, 19 Jun 2018 11:44:42 +0200
Subject: [PATCH] VPD: Cleanup
References: bsc#1170554 ltc#185587
Upstream: v3.6.0
Git-commit: d9b702cde8550b245defa130f3d93a5b34ae68d7
---
ls-vpd.c | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/ls-vpd.c b/ls-vpd.c
index cc279c3..37217f0 100644
--- a/ls-vpd.c
+++ b/ls-vpd.c
@@ -41,19 +41,13 @@ 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
- */
+ /* Non-standard extensions */
+ { '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" },
{ 0, 0 , F_BINARY, "Unknown" }
};
--
2.26.2