Linux 2.6.x: arch powerpc: PCI DMA allocation misunderstandings

2010-05-28 Thread Laurent Lagrange
Hello, I use a 82xx or 85xx host platform with a Linux 2.6.24 or 2.2.31. On this host, I want to write a PCI driver for a target PMC device wich only supports 30bits (1GB) DMA addressing. The PMC device is the master of the DMA transfers from/to the host memory. In the host driver, I begin to s

TR: Linux 2.6.x 82xx probe devices with multiple serial drivers

2010-02-11 Thread Laurent Lagrange
Hello, I use a 82xx platform with a device tree which describes 4 SCC ports. I want to probe these 4 SCC ports against 2 serial drivers (e.g. async and sync). Each port is declared as compatible with the 2 drivers. When the first driver is loaded, all devices are probed and bound with this drive

TR: Async DMA completion

2008-11-27 Thread Laurent Lagrange
Hello, I would like to use async DMA driver to transfer data. I find no function to wait for the end of the DMA transfer in blocking mode: the only way to get the end of the transfer is the polling by the function "dma_async_is_tx_complete". To wait the end of the transfer, must I poll the trans

PCI configuration with multiple PCI controllers

2008-02-01 Thread Laurent Lagrange
Hello, I have a MPC8641 based board. I try to use the two PCIe controllers. My firmware configures (physically) the PCI buses as follow: --+ MPC8641 PCIe 1 | bus 1 +--+ | --> | PCI device 0 | BUS 0

PCI configuration with multiple PCI controllers

2008-01-29 Thread Laurent Lagrange
Hello, I have a MPC8641 based board. I try to use the two PCIe controllers. My firmware configures (physically) the PCI buses as follow: --+ MPC8641 PCIe 1 | bus 1 +--+ | --> | PCI device 0 | BUS 0