summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Backx <ben@bbackx.com>2008-08-09 12:35:55 (GMT)
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-02-24 13:51:25 (GMT)
commit2c22861459f094e899c034515a9bb92ac307ceae (patch)
tree60e3d9d00c71d5ea338857c8a6e0a65e6fba9614
parentf1bbb43a667067f24a729df78dc050348b1c7846 (diff)
downloadlinux-2c22861459f094e899c034515a9bb92ac307ceae.tar.xz
firesat: add DVB-S support for DVB-S2 devices
...so S2 owners now can at least watch DVB-S channels in linux. Signed-off-by: Ben Backx <ben@bbackx.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-rw-r--r--drivers/media/dvb/firesat/avc_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/media/dvb/firesat/avc_api.c b/drivers/media/dvb/firesat/avc_api.c
index 0ad6420..cd79c80 100644
--- a/drivers/media/dvb/firesat/avc_api.c
+++ b/drivers/media/dvb/firesat/avc_api.c
@@ -240,6 +240,12 @@ static void AVCTuner_tuneQPSK(struct firesat *firesat, struct dvb_frontend_param
else
CmdFrm->operand[12] = (firesat->tone==SEC_TONE_ON)?1:0; // band
+ if (firesat->type == FireSAT_DVB_S2) {
+ CmdFrm->operand[13] = 0x1;
+ CmdFrm->operand[14] = 0xFF;
+ CmdFrm->operand[15] = 0xFF;
+ }
+
CmdFrm->length = 16;
}