Subject: MPC8536 PCI rescan to discover FPGA

From: Felix Radensky <[email-masked]>
Date: Mon, 21 Sep 2009 18:35:29 +0300

Hi,

On a custom MPC8536 board running linux-2.6.31,
I'd like to load FPGA code from linux and then rescan
PCI-E bus to discover FPGA device. Is that possible ?
When linux boots FPGA is not loaded, so initial PCI
scan does not detect it.

I've tried playing with /sys/bus/pci/rescan and 
/sys/bus/pci/devices/.../rescan
but didn't have much success.

Thanks.

Felix.