summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorBen Backx <ben@bbackx.com>2008-08-09 14:35:55 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-02-24 14:51:25 +0100
commit2c22861459f094e899c034515a9bb92ac307ceae (patch)
tree60e3d9d00c71d5ea338857c8a6e0a65e6fba9614 /drivers/media
parentf1bbb43a667067f24a729df78dc050348b1c7846 (diff)
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>
Diffstat (limited to 'drivers/media')
-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 0ad6420e342..cd79c806ecc 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;
}