summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-02-11 18:51:32 +0000
committerPatrick Boettcher <devnull@localhost>2005-02-11 18:51:32 +0000
commit98a6c50cc8707941fbd7aedc49f9a81531959934 (patch)
treed067b6bdc6672512b447871a30b4031636c2e359 /linux/drivers/media/dvb/frontends
parent0c571d365d879f7112425038615542cc5fd4657a (diff)
downloadmediapointer-dvb-s2-98a6c50cc8707941fbd7aedc49f9a81531959934.tar.gz
mediapointer-dvb-s2-98a6c50cc8707941fbd7aedc49f9a81531959934.tar.bz2
- added a another firmware file for KWorld/ADSTech Instant DVB-T USB2.0 (DiB3000M-B)
- added support for KWorld/ADSTech Instant DVB-T USB2.0 (DiB3000M-B) - added deactivation option of the pid parser for the DiB3000M-B (since there are USB2.0 devices and which now have the ability to deliver the complete Transport Stream)
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/dib3000mb.c5
-rw-r--r--linux/drivers/media/dvb/frontends/dib3000mc.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/dib3000mb.c b/linux/drivers/media/dvb/frontends/dib3000mb.c
index 4a80fc421..71bd57705 100644
--- a/linux/drivers/media/dvb/frontends/dib3000mb.c
+++ b/linux/drivers/media/dvb/frontends/dib3000mb.c
@@ -683,8 +683,9 @@ static int dib3000mb_fifo_control(struct dvb_frontend *fe, int onoff)
static int dib3000mb_pid_parse(struct dvb_frontend *fe, int onoff)
{
- //struct dib3000_state *state = fe->demodulator_priv;
- /* switch it off and on */
+ struct dib3000_state *state = fe->demodulator_priv;
+ deb_xfer("%s pid parsing\n",onoff ? "enabling" : "disabling");
+ wr(DIB3000MB_REG_PID_PARSE,onoff);
return 0;
}
diff --git a/linux/drivers/media/dvb/frontends/dib3000mc.c b/linux/drivers/media/dvb/frontends/dib3000mc.c
index bc61ddd95..9bed3dd05 100644
--- a/linux/drivers/media/dvb/frontends/dib3000mc.c
+++ b/linux/drivers/media/dvb/frontends/dib3000mc.c
@@ -792,10 +792,8 @@ static int dib3000mc_pid_parse(struct dvb_frontend *fe, int onoff)
deb_xfer("%s pid parsing\n",onoff ? "enabling" : "disabling");
if (onoff) {
- deb_xfer("%d %x\n",tmp | DIB3000MC_SMO_MODE_PID_PARSE,tmp | DIB3000MC_SMO_MODE_PID_PARSE);
wr(DIB3000MC_REG_SMO_MODE,tmp | DIB3000MC_SMO_MODE_PID_PARSE);
} else {
- deb_xfer("%d %x\n",tmp & DIB3000MC_SMO_MODE_NO_PID_PARSE,tmp & DIB3000MC_SMO_MODE_NO_PID_PARSE);
wr(DIB3000MC_REG_SMO_MODE,tmp & DIB3000MC_SMO_MODE_NO_PID_PARSE);
}
return 0;