2006-09-23 19:01:29 -04:00
|
|
|
#ifndef _DVB_USB_M920X_H_
|
|
|
|
#define _DVB_USB_M920X_H_
|
2006-09-23 19:00:41 -04:00
|
|
|
|
2006-09-23 19:01:29 -04:00
|
|
|
#define DVB_USB_LOG_PREFIX "m920x"
|
2006-09-23 19:00:41 -04:00
|
|
|
#include "dvb-usb.h"
|
|
|
|
|
2006-09-23 19:01:29 -04:00
|
|
|
#define deb_rc(args...) dprintk(dvb_usb_m920x_debug,0x01,args)
|
2006-09-23 19:00:41 -04:00
|
|
|
|
2006-09-27 23:47:51 -04:00
|
|
|
#define M9206_CORE 0x22
|
2006-09-28 00:46:49 -04:00
|
|
|
#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
|
2006-09-27 23:47:51 -04:00
|
|
|
|
|
|
|
#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;
|
|
|
|
};
|
2006-09-23 19:00:41 -04:00
|
|
|
#endif
|