]> git.karo-electronics.de Git - mv-sheeva.git/commit
PCI: Separate pci_bus_read_dev_vendor_id from pci_scan_device
authorYinghai Lu <yinghai@kernel.org>
Fri, 27 Jan 2012 18:55:10 +0000 (10:55 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Feb 2012 16:44:59 +0000 (08:44 -0800)
commitefdc87dab1cdf25ba631181ac0ead3fb2023dd10
treef55b7d0b2e9bbfd9dd280c85166aef423bf68d75
parentac205b7bb72fa4227d2e79979bbe2b4687cdf44d
PCI: Separate pci_bus_read_dev_vendor_id from pci_scan_device

We can reuse it for pciehp probing.

-v2: according to Kenji, fix crs timeout checking, and export the function
     for later use when pciehp is compiled as a module.

Suggested-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.h
drivers/pci/probe.c