From a91d0858325681bae8a94013aaa1833341aa6da4 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Sun, 26 Mar 2006 19:34:39 +0200 Subject: Cleanups for mt2060-integration From: Patrick Boettcher - some coding style fixes for newly added mt2060 - moved agc-config from fixed values in dib3000mc to configurable ones - whitespace clean-ups for usb-id-file Signed-off-by: Patrick Boettcher --- linux/drivers/media/dvb/frontends/dib3000.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'linux/drivers/media/dvb/frontends/dib3000.h') diff --git a/linux/drivers/media/dvb/frontends/dib3000.h b/linux/drivers/media/dvb/frontends/dib3000.h index 2d5475b5c..bd0e663cf 100644 --- a/linux/drivers/media/dvb/frontends/dib3000.h +++ b/linux/drivers/media/dvb/frontends/dib3000.h @@ -26,11 +26,17 @@ #include +struct dib3000p_agc_config { + u16 val[12]; +}; + struct dib3000_config { /* the demodulator's i2c address */ u8 demod_address; + const struct dib3000p_agc_config *agc; + /* PLL maintenance and the i2c address of the PLL */ int (*pll_init)(struct dvb_frontend *fe); int (*pll_set)(struct dvb_frontend *fe, struct dvb_frontend_parameters* params); @@ -50,4 +56,6 @@ extern struct dvb_frontend* dib3000mb_attach(const struct dib3000_config* config extern struct dvb_frontend* dib3000mc_attach(const struct dib3000_config* config, struct i2c_adapter* i2c, struct dib_fe_xfer_ops *xfer_ops); + +extern int dib3000mc_set_agc_config(struct dvb_frontend *fe, const struct dib3000p_agc_config *agc); #endif // DIB3000_H -- cgit v1.2.3 From dc8409168fb90b2b7f5e706117877e40f9177c60 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Sat, 29 Jul 2006 22:08:29 +0200 Subject: Complete rewrite of the DiB3000mc-driver From: Patrick Boettcher A complete rewrite of the DiB3000MC/P driver has been done. It is now much more easy to maintain and to get improvements inside. Additionally the tuning time has been reduced and the usage of the driver is much more understandable now. Signed-off-by: Patrick Boettcher Signed-off-by: Francois KANOUNNIKOFF --- linux/drivers/media/dvb/frontends/dib3000.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'linux/drivers/media/dvb/frontends/dib3000.h') diff --git a/linux/drivers/media/dvb/frontends/dib3000.h b/linux/drivers/media/dvb/frontends/dib3000.h index 76c203ceb..d919c0fe4 100644 --- a/linux/drivers/media/dvb/frontends/dib3000.h +++ b/linux/drivers/media/dvb/frontends/dib3000.h @@ -26,16 +26,10 @@ #include -struct dib3000p_agc_config { - u16 val[12]; -}; - struct dib3000_config { /* the demodulator's i2c address */ u8 demod_address; - - const struct dib3000p_agc_config *agc; }; struct dib_fe_xfer_ops @@ -50,9 +44,4 @@ struct dib_fe_xfer_ops extern struct dvb_frontend* dib3000mb_attach(const struct dib3000_config* config, struct i2c_adapter* i2c, struct dib_fe_xfer_ops *xfer_ops); -extern struct dvb_frontend* dib3000mc_attach(const struct dib3000_config* config, - struct i2c_adapter* i2c, struct dib_fe_xfer_ops *xfer_ops); - -extern int dib3000mc_set_agc_config(struct dvb_frontend *fe, const struct dib3000p_agc_config *agc); - #endif // DIB3000_H -- cgit v1.2.3