[linux-dvb] [PATCH] Enable the BER/UNC counting for the stv0297 frontend

e9hack e9hack at googlemail.com
Wed Nov 1 09:52:33 CET 2006


Oliver Endriss wrote:
> e9hack wrote:
>   
>>
>> It comes from stv0297_cs2.c:
>>
>>         stv0297_writeregI(state, RS_DESC_15, 0x03);   /* freeze the
>> counters */
>>         stv0297_redregsI(state, RS_DESC_0, block_count, 6);
>>         stv0297_writeregI(state, RS_DESC_15, 0x03);   /* clear the
>> counters */
>>         stv0297_writeregI(state, RS_DESC_15, 0x03);   /* re-enable the
>> counters */
>>
>> Sorry, I didn't copy the comments. I've used stv0297_writereg_mask(),
>> because I don't know the meaning of register 0xDF and it seems that only
>> bit 0 and 1 are involved in the counters.
>>     
>
> Ok. Please re-add the comments. They clarify the code.
Done.

- Hartmut


-------------- next part --------------
A non-text attachment was scrubbed...
Name: nexusca-berunc-1.patch
Type: text/x-patch
Size: 2034 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061101/f3ae88e1/nexusca-berunc-1.bin


More information about the linux-dvb mailing list