From: Yu Zhao Date: Tue, 16 Dec 2008 08:03:35 +0000 (+0800) Subject: PCIUtils: fix SR-IOV capability error in lspci X-Git-Tag: v3.1.0~9 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=edca35206e07da135ef3d48da80e99790807c58b;p=pciutils.git PCIUtils: fix SR-IOV capability error in lspci Fix wrong 'VF Migration' info when displaying SR-IOV capability. Signed-off-by: Yu Zhao --- diff --git a/ls-ecaps.c b/ls-ecaps.c index f0d1338..2d8153b 100644 --- a/ls-ecaps.c +++ b/ls-ecaps.c @@ -166,6 +166,7 @@ cap_sriov(struct device *d, int where) printf("\t\tSupported Page Size: %08x, ", l); l = get_conf_long(d, where + PCI_IOV_SYSPS); printf("System Page Size: %08x\n", l); + l = get_conf_long(d, where + PCI_IOV_MSAO); printf("\t\tVF Migration: offset: %08x, BIR: %x\n", PCI_IOV_MSA_OFFSET(l), PCI_IOV_MSA_BIR(l)); }