PCI: add SR-IOV API for Physical Function driver
authorYu Zhao <yu.zhao@intel.com>
Fri, 20 Mar 2009 03:25:15 +0000 (11:25 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 20 Mar 2009 17:48:26 +0000 (10:48 -0700)
commitdd7cc44d0bcec5e9c42fe52e88dc254ae62eac8d
tree742b2c903580eded1e352988b068c0362eccc634
parent480b93b7837fb3cf0579a42f4953ac463a5b9e1e
PCI: add SR-IOV API for Physical Function driver

Add or remove the Virtual Function when the SR-IOV is enabled or
disabled by the device driver. This can happen anytime rather than
only at the device probe stage.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/iov.c
drivers/pci/pci.h
include/linux/pci.h