re-scanning the PCI bus after boot for configurable device...

Dave Airlie (airlied@linux.ie)
Tue, 13 May 2003 02:29:33 +0100 (IST)


hi,
I've got a PCI card that has an FPGA on it which I want to program
at run time, and then load a device driver for depending on what I've
loaded in to the FPGA,

The FPGA is downloaded via JTAG so that is all fine, but if I boot Linux,
download over the JTAG, how can I get Linux to see the device? can I use
the hotplugging support or do I still need to do more work? I know the
hotplug allows for PCMCIA and CompactPCI to add devices after boot, but
this is plain PCI but the device won't be there until the system is
running,

I know I can in theory put an image in the FPGA from an EEPROM which
enough to get by, but I'd rather not put an EEPROM anywhere near the board
if possible,

Thanks,
Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied@skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/