[linux-dvb] [PATCH] Update FE_DISHNETWORK_SEND_LEGACY_CMD for current kernels

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

 



The following patch fixes the current stv0299 code that handles
FE_DISHNETWORK_SEND_LEGACY_CMD.
(This code supports the legacy SW21, SW44, and SW64 switches)

The patch is against 2.6.11.6, and fixes the following timing issues:
1) Budget cards can take many milliseconds to read data from, so
directly call: stv0299_writeregI (this was in the previous patch that
was applied to the v4 branch)

2) Recent kernels (>2.6.9?) seem to be much less accurate when using
msleep.  This patch uses msleep+udelay to try to get closer to the
precise timing needed by the switch.

3) The debugging info for timing is added (this was in my previous
patch that was applied to the v4 branch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: legacy_switch.patch
Type: application/octet-stream
Size: 3468 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20050327/bb365605/legacy_switch.obj

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux