I have a FPGA behind a PCIe switch that is loaded after kernel is up and I need enable it without a reboot. Before the FPGA is programmed 'lspci' can not detect it at all(it's totally empty). It appears fakephp is to be removed soon, and 'echo 1 >/sys/bus/pci/rescan' only works for PCI devices that was removed before and wants to be rescanned. Is this correct? that 'rescan' will only work for devices that was found-then-disabled? Is it possible to hotplug FPGA and rescan/reallocate its sources? Otherwise I had to manually set up everything. Thanks, Xianghua On Wed, Apr 27, 2011 at 3:09 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > On 04/27/2011 01:05 PM, Bjorn Helgaas wrote: >> >> Is that true for all PCIe hotplug topologies? ÂWhat about other >> hotplug drivers that might eventually use >> pci_assign_unassigned_bridge_resources()? ÂIf we *know* all the >> devices under the bridge, why don't we just remove their resources >> explicitly? ÂThat would protect us when this assumption changes. > > no, in this case, those devices do not get resources allocated yet. > > other pci hotplug could use this function too. test case could be pcie bridge to card bus etc. > > Yinghai > -- > To unsubscribe from this list: send the line "unsubscribe linux-pci" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html