File pciutils-VPD-Cleanup.patch of Package pciutils (Revision 15cd91c36841f0ec3da4dc9b1872253a)
Currently displaying revision 15cd91c36841f0ec3da4dc9b1872253a , Show latest
48
1
From d9b702cde8550b245defa130f3d93a5b34ae68d7 Mon Sep 17 00:00:00 2001
2
From: Martin Mares <mj@ucw.cz>
3
Date: Tue, 19 Jun 2018 11:44:42 +0200
4
Subject: [PATCH] VPD: Cleanup
5
6
References: bsc#1170554 ltc#185587
7
Upstream: v3.6.0
8
Git-commit: d9b702cde8550b245defa130f3d93a5b34ae68d7
9
10
---
11
ls-vpd.c | 20 +++++++-------------
12
1 file changed, 7 insertions(+), 13 deletions(-)
13
14
diff --git a/ls-vpd.c b/ls-vpd.c
15
index cc279c3..37217f0 100644
16
--- a/ls-vpd.c
17
+++ b/ls-vpd.c
18
19
{ 'Y','A', F_TEXT, "Asset tag" },
20
{ 'V', 0 , F_TEXT, "Vendor specific" },
21
{ 'Y', 0 , F_TEXT, "System specific" },
22
-/*
23
- * The following VPD keywords are vendor specific or not part of any
24
- * current PCI-SIG specification
25
- */
26
- { 'C','C', F_TEXT, "CCIN" },
27
- { 'F','C', F_TEXT, "Feature code" },
28
- { 'F','N', F_TEXT, "FRU" },
29
- { 'N','A', F_TEXT, "Network address" },
30
- { 'R','M', F_TEXT, "Firmware version" },
31
- { 'Z', 0 , F_TEXT, "Product specific" },
32
-/*
33
- * End vendor specific VPD keywords
34
- */
35
+ /* Non-standard extensions */
36
+ { 'C','C', F_TEXT, "CCIN" },
37
+ { 'F','C', F_TEXT, "Feature code" },
38
+ { 'F','N', F_TEXT, "FRU" },
39
+ { 'N','A', F_TEXT, "Network address" },
40
+ { 'R','M', F_TEXT, "Firmware version" },
41
+ { 'Z', 0 , F_TEXT, "Product specific" },
42
{ 0, 0 , F_BINARY, "Unknown" }
43
};
44
45
--
46
2.26.2
47
48