mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
e2adbecf72
- 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>
29 lines
588 B
C
29 lines
588 B
C
#ifndef _DVB_USB_M920X_H_
|
|
#define _DVB_USB_M920X_H_
|
|
|
|
#define DVB_USB_LOG_PREFIX "m920x"
|
|
#include "dvb-usb.h"
|
|
|
|
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
|