[linux-dvb] [PATCH] Nebula DVB-T with MT352 Frontend

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

 



On Wednesday 03 August 2005 23:55, Johannes Stezenbach wrote:
>
> Just one comment:
> > +  /*
> > +   * It is possible to determine the correct frontend using the I2C bus
> > (see the Nebula SDK); +   * this would be a cleaner solution than trying
> > each frontend in turn. +   */
>
> IMHO this isn't cleaner. You would move (or, worse, copy) the
> frontend-specific probing code from the frontend driver to the card
> driver. In the long run this is a maintenance nightmare.
>

This method of detecting the frontend involves simply reading a register value 
from the card over the I2C bus. Is there not an easy way to do this without 
moving code around?
(btw, I know  very little about how the I2C bus works and even less about how 
to use it within the kernel, so my apologies if I'm completely wrong...)

Regards,
David.



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

  Powered by Linux