From 746c90575582f97474887736d4d877de6357405b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 21 Nov 2008 22:43:49 +0100 Subject: [PATCH] Decode VPD fully only with -vv or higher. This brings the behavior in line with the other capabilities. --- ls-vpd.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.39.2