linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Fakephp to hotplug FPGAs
@ 2004-12-08 21:25 Jay Miller
  2004-12-09 23:45 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jay Miller @ 2004-12-08 21:25 UTC (permalink / raw)
  To: linux-hotplug

Hi All,

I was hoping that someone could help me out of a hotplugging nightmare?

We're running Linux 2.6.6 on and embedded system with FPGAs on the other
side of a PCI-X bridge.  The FPGAs are programmed after boot and I have
tried to use fakephp to discover the newly programmed device without
rebooting.

This works in the sense that lspci reports a new device, but it doesn't
assign any resources for the device.  My assumption is that the bridge
doesn't have any resources to give because no device was detected on the
first bus scan.

I've searched for folks in a similar bind, and I did find John Carlson's
pci-rescan, but that appears to do the same thing as fakephp, and only
on bus 0.

I also used setpci to set the correct pci config space values for the
device and for the bridge, and tried using fakephp to re-discover the
device with the proper settings.

I even went as far as removing the "safety" in fakephp that prevents you
from removing a bridge to see if I'd get "lucky", and both the bridge
and device would be repopulated.  No dice.

I get the feeling that I'm missing something.  What am I doing wrong
(besides hacking up fakephp for my own purposes)?

Thanks,

Jay Miller
Actuality Systems, Inc.
jmiller@actuality-systems.com




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-09 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 21:25 Fakephp to hotplug FPGAs Jay Miller
2004-12-09 23:45 ` Greg KH

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).