Re: Customizing UIO mmap'ing

2015-12-18 Thread Kenneth Adam Miller
On Fri, Dec 18, 2015 at 9:20 AM, Henry Gomersall < henry.gomers...@smartacoustics.co.uk> wrote: > On 18/12/15 14:15, Kenneth Adam Miller wrote: > > > On Fri, Dec 18, 2015 at 7:05 AM, Henry Gomersall < > henry.gomers...@smartacoustics.co.uk> wrote: > >> On 17/12/15 21:35, Kenneth Adam Miller wrote:

Re: Customizing UIO mmap'ing

2015-12-18 Thread Henry Gomersall
On 18/12/15 14:15, Kenneth Adam Miller wrote: > > On Fri, Dec 18, 2015 at 7:05 AM, Henry Gomersall > > wrote: > > On 17/12/15 21:35, Kenneth Adam Miller wrote: >> Generally uio_dmem_genirq.c builds on top of uio.c, which >> provides a common

Re: Customizing UIO mmap'ing

2015-12-18 Thread Kenneth Adam Miller
On Fri, Dec 18, 2015 at 7:05 AM, Henry Gomersall < henry.gomers...@smartacoustics.co.uk> wrote: > On 17/12/15 21:35, Kenneth Adam Miller wrote: > > Generally uio_dmem_genirq.c builds on top of uio.c, which provides a > common module basis for isolating code common to the other specific > modules.

Re: Customizing UIO mmap'ing

2015-12-18 Thread Henry Gomersall
On 17/12/15 21:35, Kenneth Adam Miller wrote: > Generally uio_dmem_genirq.c builds on top of uio.c, which provides a > common module basis for isolating code common to the other specific > modules. But for a specific purpose, uio_dmem_genirq.c has be either > customized or extended in order that sp

Customizing UIO mmap'ing

2015-12-17 Thread Kenneth Adam Miller
So, previously I think I misunderstood how to use uio_dmem_genirq. Let me explain the way I think it currently works (bare with me, I departed from looking at this driver after only about a week of looking at it): Generally uio_dmem_genirq.c builds on top of uio.c, which provides a common module b