From edca35206e07da135ef3d48da80e99790807c58b Mon Sep 17 00:00:00 2001 From: Yu Zhao Date: Tue, 16 Dec 2008 16:03:35 +0800 Subject: [PATCH] PCIUtils: fix SR-IOV capability error in lspci Fix wrong 'VF Migration' info when displaying SR-IOV capability. Signed-off-by: Yu Zhao --- ls-ecaps.c | 1 + 1 file changed, 1 insertion(+) 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)); } -- 2.39.2