summaryrefslogtreecommitdiffstats
path: root/drivers/pci/bus.c
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2016-03-04 10:53:03 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-03-09 09:58:13 +1100
commitc194f7ea7f68f2690533832ec22f0d7ed4f2d74d (patch)
treecc54089468d7409d3937cab8a1a32523023aeea2 /drivers/pci/bus.c
parent4eb0799ff93b54dd40c0c5bb06f60f1eb015635b (diff)
downloadlinux-stable-c194f7ea7f68f2690533832ec22f0d7ed4f2d74d.tar.gz
linux-stable-c194f7ea7f68f2690533832ec22f0d7ed4f2d74d.tar.bz2
linux-stable-c194f7ea7f68f2690533832ec22f0d7ed4f2d74d.zip
PCI/IOV: Rename and export virtfn_{add, remove}
During EEH recovery, hotplug is applied to the devices which don't have drivers or their drivers don't support EEH. However, the hotplug, which was implemented based on PCI bus, can't be applied to VF directly. Instead, we unplug and plug individual PCI devices (VFs). This renames virtn_{add,remove}() and exports them so they can be used in PCI hotplug during EEH recovery. Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/pci/bus.c')
0 files changed, 0 insertions, 0 deletions