Re: PCI DMA to user mem on mpc83xx

2011-05-24 Thread Andre Schwarz
David, we have a pretty old PCI device driver here that needs some basic rework running on 2.6.27 on several MPC83xx. It's a simple char-device with "give me some data" implemented using read() resulting in zero-copy DMA to user mem. There's get_user_pages() working under the hood along with Se

Re: PCI DMA to user mem on mpc83xx

2011-05-24 Thread Andre Schwarz
Ira, On Mon, May 23, 2011 at 11:12:41AM +0200, Andre Schwarz wrote: Ira, we have a pretty old PCI device driver here that needs some basic rework running on 2.6.27 on several MPC83xx. It's a simple char-device with "give me some data" implemented using read() resulting in zero-copy DMA to user

RE: PCI DMA to user mem on mpc83xx

2011-05-24 Thread David Laight
> we have a pretty old PCI device driver here that needs some > basic rework running on 2.6.27 on several MPC83xx. > It's a simple char-device with "give me some data" implemented > using read() resulting in zero-copy DMA to user mem. > > There's get_user_pages() working under the hood along wit

Re: PCI DMA to user mem on mpc83xx

2011-05-23 Thread Ira W. Snyder
On Mon, May 23, 2011 at 11:12:41AM +0200, Andre Schwarz wrote: > Ira, > > we have a pretty old PCI device driver here that needs some basic rework > running on 2.6.27 on several MPC83xx. > It's a simple char-device with "give me some data" implemented using > read() resulting in zero-copy DMA to