summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-21 23:47:20 -0400
committerSteven Toth <stoth@linuxtv.org>2008-09-21 23:47:20 -0400
commitdc5d724b55e94616801ab8f3c004cd16ed14bc20 (patch)
tree28494f722ef21659fde47d9cdb51aa001a25a518 /linux
parent4183f9e03abc776d7b346e9bb8df2a0b12b0170b (diff)
downloadmediapointer-dvb-s2-dc5d724b55e94616801ab8f3c004cd16ed14bc20.tar.gz
mediapointer-dvb-s2-dc5d724b55e94616801ab8f3c004cd16ed14bc20.tar.bz2
S2API: cx24116 register description fixes.
From: Darron Broad <darron@kewl.org> From the author: Here is a simple patch detailing some reverse engineered register detail lost in my latest merge. The comments in the code refer to this register but it is never defined. This corrects this. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/cx24116.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24116.c b/linux/drivers/media/dvb/frontends/cx24116.c
index 869215a66..163190d54 100644
--- a/linux/drivers/media/dvb/frontends/cx24116.c
+++ b/linux/drivers/media/dvb/frontends/cx24116.c
@@ -67,6 +67,13 @@ static int debug = 0;
#define CX24116_REG_UCB8 (0xca)
#define CX24116_REG_CLKDIV (0xf3)
#define CX24116_REG_RATEDIV (0xf9)
+#define CX24116_REG_FECSTATUS (0x9c) /* configured fec (not tuned) or actual FEC (tuned) 1=1/2 2=2/3 etc */
+
+/* FECSTATUS bits */
+#define CX24116_FEC_FECMASK (0x1f) /* mask to determine configured fec (not tuned) or actual fec (tuned) */
+#define CX24116_FEC_DVBS (0x20) /* Select DVB-S demodulator, else DVB-S2 */
+#define CX24116_FEC_UNKNOWN (0x40) /* Unknown/unused */
+#define CX24116_FEC_PILOT (0x80) /* Pilot mode requested when tuning else always reset when tuned */
/* arg buffer size */
#define CX24116_ARGLEN (0x1e)