Mailing List archive

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

[linux-dvb] Re: Patch: current I2C trasnition broke KNC1 type cards



On Monday 21 June 2004 09:39, Uli Luckas wrote:
> Am Montag, 21. Juni 2004 01:08 schrieb Kenneth Aafløy:
> > Could not this be better handled by some binary identifyer for each
> > cardtype? That is what it becomes after the string parsing at least.
>
> Well, that would be nice. But as far as I understand the drivers are using
> the kernel I2C API where we don't pass any data directly to the frontend.
> The frontend is attached by the kernel which passes struct i2c_adapter.
> This is why an existing field from i2c_adapter has to be abused here.

Is not this what i2c_adapter->algo_data is for? Stuffing private data in, and 
as far as I can see it's unused.

Kenneth




Home | Main Index | Thread Index