diff options
author | Aapo Tahkola <aet@rasterburn.org> | 2006-09-27 23:47:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:50 -0500 |
commit | e2adbecf72d54515b66f8631813ec49069669d5e (patch) | |
tree | aafc58dd8fd833acd630d3c0977a515d249b0652 /drivers/media/dvb/dvb-usb/m920x.h | |
parent | 017cf012570c955c3e1ff025802d7cb46fd1d37b (diff) |
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.h | 18 |
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 @@ | |||
7 | extern int dvb_usb_m920x_debug; | 7 | extern int dvb_usb_m920x_debug; |
8 | #define deb_rc(args...) dprintk(dvb_usb_m920x_debug,0x01,args) | 8 | #define deb_rc(args...) dprintk(dvb_usb_m920x_debug,0x01,args) |
9 | 9 | ||
10 | #define M9206_CORE 0x22 | ||
11 | #define M9206_RC_STATE 0xff51 | ||
12 | #define M9206_RC_KEY 0xff52 | ||
13 | #define M9206_RC_INIT1 0xff54 | ||
14 | #define M9206_RC_INIT2 0xff55 | ||
15 | #define M9206_FW_GO 0xff69 | ||
16 | |||
17 | #define M9206_I2C 0x23 | ||
18 | #define M9206_FILTER 0x25 | ||
19 | #define M9206_FW 0x30 | ||
20 | |||
21 | #define M9206_MAX_FILTERS 8 | ||
22 | struct m9206_state { | ||
23 | u16 filters[M9206_MAX_FILTERS]; | ||
24 | int filtering_enabled; | ||
25 | int rep_count; | ||
26 | }; | ||
27 | |||
10 | #endif | 28 | #endif |