commit | 7b77061f8d03cdaf71d91ea356835131d651b103 | [log] [tgz] |
---|---|---|
author | Wei Yang <weiyang@linux.vnet.ibm.com> | Fri Mar 04 10:53:04 2016 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Wed Mar 09 09:58:14 2016 +1100 |
tree | 19c1bf91b380bb848c779ff6840d521ef67d06c1 | |
parent | c194f7ea7f68f2690533832ec22f0d7ed4f2d74d [diff] |
PCI: Add pcibios_bus_add_device() weak function This adds weak function pcibios_bus_add_device() for arch dependent code could do proper setup. For example, powerpc could setup EEH related resources for SRIOV VFs. 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>