summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2017-11-17 13:58:23 +0100
committerMartin Mares <mj@ucw.cz>2017-11-17 13:58:23 +0100
commitb7ffb9718793892361af67f6ecf1b3758b563578 (patch)
treeb7d0a23b5920f44f455871a04be3d28616ecc869
parent0f3d0ca73ecedaba180bf4607bb57fb8abe6d405 (diff)
downloadpciutils-b7ffb9718793892361af67f6ecf1b3758b563578.tar.gz
pciutils: change MN VPD keyword to F_TEXT
The PCI spec defines all keyword data fields as ASCII unless otherwise noted. The MN keyword is not otherwise noted. To make the MN field human readable in lspci verbose outputs, this patch changes the MN keyword definition from F_BINARY to F_TEXT. Signed-off-by: John Walthour <return.0@me.com>
-rw-r--r--ls-vpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-vpd.c b/ls-vpd.c
index 35c2bfa..b79abfc 100644
--- a/ls-vpd.c
+++ b/ls-vpd.c
@@ -33,7 +33,7 @@ static const struct vpd_item {
} vpd_items[] = {
{ 'C','P', F_BINARY, "Extended capability" },
{ 'E','C', F_TEXT, "Engineering changes" },
- { 'M','N', F_BINARY, "Manufacture ID" },
+ { 'M','N', F_TEXT, "Manufacture ID" },
{ 'P','N', F_TEXT, "Part number" },
{ 'R','V', F_RESVD, "Reserved" },
{ 'R','W', F_RDWR, "Read-write area" },