All of lore.kernel.org
 help / color / mirror / Atom feed
* How to partition a PCI device within OF?
@ 2008-11-24 19:08 Steven A. Falco
  0 siblings, 0 replies; only message in thread
From: Steven A. Falco @ 2008-11-24 19:08 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org

I have an FPGA that will be on the PCI bus of a PPC440 processor.
The FPGA unfortunately can only have one "PCI function" (thus one
vendor/device code).  The unfortunate part is that the FPGA has
several logical functions, that should have separate drivers.

Is there a way that I can break out the single PCI device into
several different sub-functions, with separate "sub-function
drivers" using the OF infrastructure?

What I'd like to do is pci_register_driver() once for the whole
device, and when probed by the PCI subsystem, create several OF
viewable sub-devices.  Then, I could have separate OF drivers bind
to the newly created OF sub-devices.

If there are any examples of this, I'd appreciate a pointer.  Or
if I'm completely wedged, and there is a better way to handle the
situation, please say so.

	Steve

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-24 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 19:08 How to partition a PCI device within OF? Steven A. Falco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.