LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Post-boot PCI device detection
@ 2007-02-12 13:16 Andrea Galbusera
0 siblings, 0 replies; only message in thread
From: Andrea Galbusera @ 2007-02-12 13:16 UTC (permalink / raw)
I work on a custom board and I have a PCI realated question. Please
redirect me to a more suitable list if you find the following off-topic.
On my board I have a powerpc and an fpga that I need to configure at
boot: once this is accomplished, the fpga implements a PCI device. At
moment I use a "two stages boot" in order to let the PCI subsystem
correctly detect the new device. More in detail:
1. the system boots up my kernel
2. I configure the fpga through SPI with a suitable init script
3. I reboot the ppc (this does not clear fpga config, of course!)
4. Now the kernel show the PCI device and I can load its driver
This works but has performance issues. Here comes the question... Is
there a more suitable way to let the kernel know about the PCI device
being present on the bus without rebooting the system.
No hardware support is available to any sort of hotplug signaling, since
the fpga will never be removed from the system after boot.
How can I signal PCI that something new is present?
I read Documentation/pci.txt but this does not clarify my dubt.
Thank you in advance for any kind help.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-12 13:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 13:16 Post-boot PCI device detection Andrea Galbusera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).