Mailing List archive

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

[linux-dvb] demux0_0 dvb-kernel



HI

In ttpci and ttpci-budget there's a code:

        memcpy(av7110->demux_id, "demux0_0", 9);
        av7110->demux_id[7]=av7110->dvb_adapter->num+0x30;

IMHO, it should not be id[7] but id[5]

        av7110->demux_id[5]=av7110->dvb_adapter->num+0x30;

That's the analogy like network interface:
dvb0_0 => adapter=0, interface=0
dvb0_1 => adapter=0, interface=1
dvb1_2 => adapter=1, interface=2

therefore for interface 1, demux should be

demux1_0, what id[5] correctly makes (1 is at 5th not, 7th position)

Emard


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



Home | Main Index | Thread Index