]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
firesat: add DVB-S support for DVB-S2 devices
authorBen Backx <ben@bbackx.com>
Sat, 9 Aug 2008 12:35:55 +0000 (14:35 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Feb 2009 13:51:25 +0000 (14:51 +0100)
...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>
drivers/media/dvb/firesat/avc_api.c

index 0ad6420e342f6419be4781d041013e258755293d..cd79c806ecc77fc4f749df069abd168d9c4688f3 100644 (file)
@@ -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;
 }