From 43950da130503eeb6f9a9304aa7b7d482d535ad6 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Sat, 25 Mar 2006 09:19:18 +0100 Subject: Adding support for MT2060 and thus for some DVB-USB-devices based on it From: Olivier DANET - MT2060 tuner driver - Added support for some USB DVB-T devices based on Dib3000P Signed-off-by: Olivier DANET Signed-off-by: Patrick Boettcher --- linux/drivers/media/dvb/dvb-usb/dibusb.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'linux/drivers/media/dvb/dvb-usb/dibusb.h') diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb.h b/linux/drivers/media/dvb/dvb-usb/dibusb.h index 2d99d05c7..f3e3ea8c8 100644 --- a/linux/drivers/media/dvb/dvb-usb/dibusb.h +++ b/linux/drivers/media/dvb/dvb-usb/dibusb.h @@ -17,6 +17,7 @@ #include "dvb-usb.h" #include "dib3000.h" +#include "mt2060.h" /* * protocol of all dibusb related devices @@ -94,8 +95,16 @@ #define DIBUSB_IOCTL_CMD_ENABLE_STREAM 0x01 #define DIBUSB_IOCTL_CMD_DISABLE_STREAM 0x02 +/* Tuner types. + These constants shall correspond to the proper AGC values in the array + dib3000mc_agc_tuner[][12] in dib3000mc_priv.h */ +#define DIBUSB_TUNER_DEFAULT 1 // a.k.a Panasonic +#define DIBUSB_TUNER_MT2060 4 + + struct dibusb_state { struct dib_fe_xfer_ops ops; + struct mt2060_state mt2060; /* for RC5 remote control */ int old_toggle; -- cgit v1.2.3 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/dvb-usb/dibusb.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'linux/drivers/media/dvb/dvb-usb/dibusb.h') diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb.h b/linux/drivers/media/dvb/dvb-usb/dibusb.h index f3e3ea8c8..7fd57d053 100644 --- a/linux/drivers/media/dvb/dvb-usb/dibusb.h +++ b/linux/drivers/media/dvb/dvb-usb/dibusb.h @@ -95,16 +95,10 @@ #define DIBUSB_IOCTL_CMD_ENABLE_STREAM 0x01 #define DIBUSB_IOCTL_CMD_DISABLE_STREAM 0x02 -/* Tuner types. - These constants shall correspond to the proper AGC values in the array - dib3000mc_agc_tuner[][12] in dib3000mc_priv.h */ -#define DIBUSB_TUNER_DEFAULT 1 // a.k.a Panasonic -#define DIBUSB_TUNER_MT2060 4 - - struct dibusb_state { struct dib_fe_xfer_ops ops; struct mt2060_state mt2060; + int mt2060_present; /* for RC5 remote control */ int old_toggle; -- cgit v1.2.3 From e94018d54aa38ab9118db9a3e312f09f7eabd4ee Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Tue, 4 Jul 2006 18:35:40 +0200 Subject: Update for MT2060 to use dvb_tuner_ops From: Olivier DANET new tuner api minor fixes for tuning Signed-off-by: Olivier DANET Signed-off-by: Patrick Boettcher --- linux/drivers/media/dvb/dvb-usb/dibusb.h | 1 - 1 file changed, 1 deletion(-) (limited to 'linux/drivers/media/dvb/dvb-usb/dibusb.h') diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb.h b/linux/drivers/media/dvb/dvb-usb/dibusb.h index 7fd57d053..e21de8b66 100644 --- a/linux/drivers/media/dvb/dvb-usb/dibusb.h +++ b/linux/drivers/media/dvb/dvb-usb/dibusb.h @@ -97,7 +97,6 @@ struct dibusb_state { struct dib_fe_xfer_ops ops; - struct mt2060_state mt2060; int mt2060_present; /* for RC5 remote control */ -- 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/dvb-usb/dibusb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'linux/drivers/media/dvb/dvb-usb/dibusb.h') diff --git a/linux/drivers/media/dvb/dvb-usb/dibusb.h b/linux/drivers/media/dvb/dvb-usb/dibusb.h index e21de8b66..a43f87480 100644 --- a/linux/drivers/media/dvb/dvb-usb/dibusb.h +++ b/linux/drivers/media/dvb/dvb-usb/dibusb.h @@ -17,6 +17,7 @@ #include "dvb-usb.h" #include "dib3000.h" +#include "dib3000mc.h" #include "mt2060.h" /* -- cgit v1.2.3