[linux-dvb] [PATCH] Nebula DVB-T with MT352 Frontend
David Johnson
dj at david-web.co.uk
Thu Aug 4 13:19:39 CEST 2005
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.
More information about the linux-dvb
mailing list