From: Yijing Wang Date: Wed, 24 Jul 2013 09:26:12 +0000 (+0800) Subject: PCI: Update NumVFs register when disabling SR-IOV X-Git-Tag: v3.12-rc1~177^2~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19b6984e972f2aca82d3756f826ded68e0a8fef8;p=pandora-kernel.git PCI: Update NumVFs register when disabling SR-IOV Currently, we only update NumVFs register during sriov_enable(). This register should also be updated during sriov_disable() and when sriov_enable() fails. Otherwise, we will get the stale "Number of VFs" info from lspci. [bhelgaas: changelog] Signed-off-by: Yijing Wang Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed