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

NooneImportant nxhxzi702 at sneakemail.com
Sun Mar 27 21:27:49 CEST 2005

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

The patch is against, 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

More information about the linux-dvb mailing list