Browse Source

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>
Ben Backx 17 years ago
parent
commit
2c22861459
1 changed files with 6 additions and 0 deletions
  1. 6 0
      drivers/media/dvb/firesat/avc_api.c

+ 6 - 0
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;
 }