From: Martin Mares Date: Fri, 17 Nov 2017 12:58:23 +0000 (+0100) Subject: pciutils: change MN VPD keyword to F_TEXT X-Git-Tag: v3.5.6~3 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b7ffb9718793892361af67f6ecf1b3758b563578;p=pciutils.git 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 --- 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" },