Mailing List archive

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

[linux-dvb] Re: szap/driver problems



On Thu, Jan 09, 2003 at 07:18:49PM +0100, Holger Waechtler wrote:
> >By looking at the PCI Subsystem ID ?
> >And adding appropriate info to card_info ?
> >
> 
> We should add the card name the the dvb_adapter struct, then you can do 
> easily something like this:
> 
> if (strstr(((struct dvb_i2c_bus*) i2c)->adapter)->name, "bla") {
>     /* special handling for this card...*/
> }
> 
> I'll apply this change to CVS within the next minutes.

I think we should use an integer id. This id could be initialized
by checking the EEPROM data or overwritten by module parameter.
This should be done in the saa7146 driver because it is not dvb specific.

Peter




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index