Dear Guenter Ebermann,

In message <[email protected]> you wrote:
> 
> I know the PCI-host infrastructure of the linux kernel - device enumeration 
> and
> driver structure. But AFAIK the PCI infrastructure of the linux kernel "only"
> deals with the use case where linux is the master/host on the PCI bus.  Our
> aquisition device must be a bus master PCI slave/device - this means it is
> plugged into a normal PC via PCI-express. Therefor linux on the card is not
> allowed to make bus enumeration. We will have to port our own 
> PCI-device-driver
> which uses the DMA controller to make PCI-burst-transfers to host memory. Is
> there a infrastructure I dont know of, which can help us in this task? E.g.: A
> existing general purpose DMA Api which I only have to extend to the DMA
> controller (I think it is a kind of Freescale Bestcomm) of our new CPU.

You do not want to use a MPC5200 in any new product. Actually, you do
not want to use the BestComm in any product.

As for PCIe support: both U-Boot and Linux support initialization of
hardware with respective capabilities as root complex or as end point.
For example, the AMCC PPC 440SPe is running in some storage controller
applications, where for example two of the PCIe busses are configured
as root complex and the third is used in end point mode.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
"There was no difference between  the  behavior  of  a  god  and  the
operations of pure chance..."   - Thomas Pynchon, _Gravity's Rainbow_

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to