Mailing List archive

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

[linux-dvb] Re: refactoring



On Wednesday 06 Oct 2004 21:13, Holger Waechtler wrote:
> Andrew de Quincey wrote:
> >>>If so, thats quite neat - then we don't need to export masses of extra
> >>>functions from all the demodulator modules - just the attach(), that
> >>>structure, and possibly a detach().
> >>
> >>Do we still need attach/detach()?
> >
> >You mean expose them in the structure as well? I think I'd just
> > automatically thought to have those two as "real" functions.. not sure
> > why - I just had a hunch there might be problems otherwise.
>
> mmh, no... I just don't remember off-hand if any driver implements real
> functionality beside probing in those functions...

Several of them load the firmware in the attach() function. Its also a good 
place to setup any internal state the demodulator might need.




Home | Main Index | Thread Index