summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/m920x.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2006-09-28 05:47:51 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 16:34:50 +0100
commite2adbecf72d54515b66f8631813ec49069669d5e (patch)
treeaafc58dd8fd833acd630d3c0977a515d249b0652 /drivers/media/dvb/dvb-usb/m920x.h
parentV4L/DVB (5129): M920x: break out qt1010 tuner code into a separate file (diff)
downloadlinux-e2adbecf72d54515b66f8631813ec49069669d5e.tar.xz
linux-e2adbecf72d54515b66f8631813ec49069669d5e.zip
V4L/DVB (5130): M920x: misc updates and fixes
- hardware pid filtering no longer enabled unless in usb 1.x mode - more responsive rc handling - some minor bug fixes and code refolding - m9206_write delay dropped (doesn't seem to be needed) Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/m920x.h')
-rw-r--r--drivers/media/dvb/dvb-usb/m920x.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/m920x.h b/drivers/media/dvb/dvb-usb/m920x.h
index fdb967aa30ef..709b7d205b6d 100644
--- a/drivers/media/dvb/dvb-usb/m920x.h
+++ b/drivers/media/dvb/dvb-usb/m920x.h
@@ -7,4 +7,22 @@
extern int dvb_usb_m920x_debug;
#define deb_rc(args...) dprintk(dvb_usb_m920x_debug,0x01,args)
+#define M9206_CORE 0x22
+#define M9206_RC_STATE 0xff51
+#define M9206_RC_KEY 0xff52
+#define M9206_RC_INIT1 0xff54
+#define M9206_RC_INIT2 0xff55
+#define M9206_FW_GO 0xff69
+
+#define M9206_I2C 0x23
+#define M9206_FILTER 0x25
+#define M9206_FW 0x30
+
+#define M9206_MAX_FILTERS 8
+struct m9206_state {
+ u16 filters[M9206_MAX_FILTERS];
+ int filtering_enabled;
+ int rep_count;
+};
+
#endif