Re: bus control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Obi,

On 7/23/07, Andreas Oberritter <obi@xxxxxxxxxxx> 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

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux