From 98a6c50cc8707941fbd7aedc49f9a81531959934 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Fri, 11 Feb 2005 18:51:32 +0000 Subject: - 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) --- linux/drivers/media/dvb/frontends/dib3000mb.c | 5 +++-- linux/drivers/media/dvb/frontends/dib3000mc.c | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/dvb/frontends') 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; -- cgit v1.2.3