]> git.ipfire.org Git - thirdparty/pciutils.git/commitdiff
PCIUtils: fix SR-IOV capability error in lspci
authorYu Zhao <yu.zhao@intel.com>
Tue, 16 Dec 2008 08:03:35 +0000 (16:03 +0800)
committerMartin Mares <mj@ucw.cz>
Tue, 30 Dec 2008 16:08:49 +0000 (17:08 +0100)
Fix wrong 'VF Migration' info when displaying SR-IOV capability.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
ls-ecaps.c

index f0d1338e489b5fce1f77e0a9cc48cb74cd28ac7e..2d8153b8398092c696a1c317e551cdc4dd4eb3bb 100644 (file)
@@ -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));
 }