summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/dibusb.h
diff options
context:
space:
mode:
authorOlivier DANET <odanet@caramail.com>2006-08-08 15:48:09 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 11:53:41 -0300
commita16bf5d5603184dc1db88f37051881b2eeacfd17 (patch)
treedbb50cc4d2e8ec9d7e57853e391181735b2ae809 /drivers/media/dvb/dvb-usb/dibusb.h
parent47922e9c3f583adf05a23842ff98f3b0bf7eec6d (diff)
V4L/DVB: Adding support for MT2060 and thus for some DVB-USB-devices based on it
- MT2060 tuner driver - Added support for some USB DVB-T devices based on Dib3000P Signed-off-by: Olivier DANET <odanet@caramail.com> Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dibusb.h')
-rw-r--r--drivers/media/dvb/dvb-usb/dibusb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb.h b/drivers/media/dvb/dvb-usb/dibusb.h
index 2d99d05c7eab..f3e3ea8c8dbb 100644
--- a/drivers/media/dvb/dvb-usb/dibusb.h
+++ b/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;