From: Williams, Mitch A Date: Wed, 10 Feb 2010 01:43:04 +0000 (+0000) Subject: pci: Add SR-IOV convenience functions and macros X-Git-Tag: v2.6.34-rc1~233^2~339 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8a0d9d1bfd1e4355f307e86a6da7209eefd5f3;p=pandora-kernel.git pci: Add SR-IOV convenience functions and macros Add and export pci_num_vf to allow other subsystems to determine how many virtual function devices are associated with an SR-IOV physical function device. Add macros dev_is_pci, dev_is_ps, and dev_num_vf to make it easier for non-PCI specific code to determine SR-IOV capabilities. Signed-off-by: Mitch Williams Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed