[linux-dvb] bus control

Manu Abraham abraham.manu at gmail.com
Mon Jul 23 02:11:23 CEST 2007


Hi Obi,

On 7/23/07, Andreas Oberritter <obi at linuxtv.org> wrote:
> Hi Manu,
>
> Manu Abraham wrote:
> > * register independant virtual buses for each device, on device
> > access, the relevant control word is appended to the BIU device
> > register.
>
> this solution is easy to implement and does not require the frontend
> driver to know about its underlying bus.
>
> Just protect your master_xfer function with a mutex, grab it, configure
> the bus control unit, transfer the message and release the mutex before
> returning.


Ah, thanks for the pointer. A state machine based on transaction locks
would be the best way to go about it. Also it has the advantage that
the frontend and bus can be loosely coupled as we do now.

Thanks,
Manu



More information about the linux-dvb mailing list