From: Martin Mares Date: Fri, 21 Nov 2008 21:43:49 +0000 (+0100) Subject: Decode VPD fully only with -vv or higher. X-Git-Tag: v3.1-alpha3~9 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=746c90575582f97474887736d4d877de6357405b;p=pciutils.git Decode VPD fully only with -vv or higher. This brings the behavior in line with the other capabilities. --- diff --git a/ls-vpd.c b/ls-vpd.c index 9c7b3d4..9f0c057 100644 --- a/ls-vpd.c +++ b/ls-vpd.c @@ -44,6 +44,8 @@ cap_vpd(struct device *d) byte csum = 0; printf("Vital Product Data\n"); + if (verbose < 2) + return; while (res_addr <= PCI_VPD_ADDR_MASK) {