aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/dibusb.h
diff options
context:
space:
mode:
authorOlivier DANET <odanet@caramail.com>2006-08-08 14:48:09 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 10:53:41 -0400
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 @@
17#include "dvb-usb.h" 17#include "dvb-usb.h"
18 18
19#include "dib3000.h" 19#include "dib3000.h"
20#include "mt2060.h"
20 21
21/* 22/*
22 * protocol of all dibusb related devices 23 * protocol of all dibusb related devices
@@ -94,8 +95,16 @@
94#define DIBUSB_IOCTL_CMD_ENABLE_STREAM 0x01 95#define DIBUSB_IOCTL_CMD_ENABLE_STREAM 0x01
95#define DIBUSB_IOCTL_CMD_DISABLE_STREAM 0x02 96#define DIBUSB_IOCTL_CMD_DISABLE_STREAM 0x02
96 97
98/* Tuner types.
99 These constants shall correspond to the proper AGC values in the array
100 dib3000mc_agc_tuner[][12] in dib3000mc_priv.h */
101#define DIBUSB_TUNER_DEFAULT 1 // a.k.a Panasonic
102#define DIBUSB_TUNER_MT2060 4
103
104
97struct dibusb_state { 105struct dibusb_state {
98 struct dib_fe_xfer_ops ops; 106 struct dib_fe_xfer_ops ops;
107 struct mt2060_state mt2060;
99 108
100 /* for RC5 remote control */ 109 /* for RC5 remote control */
101 int old_toggle; 110 int old_toggle;