diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2005-07-07 20:58:10 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-07 21:23:59 -0400 |
commit | 22c6d93a73105fddd58796d7cb10f5f90ee2a338 (patch) | |
tree | c5d49186c531e768fd5b137e3a573bcee0011600 /drivers/media/dvb/dvb-usb/cxusb.h | |
parent | 49dc82fdac3866e6ce9c978df80cedfb735d740c (diff) |
[PATCH] dvb: usb: support Medion hybrid USB2.0 DVB-T/analogue box
Add preliminary support for the Medion Hybrid USB2.0 DVB-T/Analogue box.
Analogue part is not working yet (cx25842 --> ivtv?).
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cxusb.h')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.h b/drivers/media/dvb/dvb-usb/cxusb.h new file mode 100644 index 000000000000..1d79016e3195 --- /dev/null +++ b/drivers/media/dvb/dvb-usb/cxusb.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef _DVB_USB_CXUSB_H_ | ||
2 | #define _DVB_USB_CXUSB_H_ | ||
3 | |||
4 | #define DVB_USB_LOG_PREFIX "digitv" | ||
5 | #include "dvb-usb.h" | ||
6 | |||
7 | extern int dvb_usb_cxusb_debug; | ||
8 | #define deb_info(args...) dprintk(dvb_usb_cxusb_debug,0x01,args) | ||
9 | |||
10 | /* usb commands - some of it are guesses, don't have a reference yet */ | ||
11 | #define CMD_I2C_WRITE 0x08 | ||
12 | #define CMD_I2C_READ 0x09 | ||
13 | |||
14 | #define CMD_IOCTL 0x0e | ||
15 | #define IOCTL_SET_I2C_PATH 0x02 | ||
16 | |||
17 | #define CMD_POWER_OFF 0x50 | ||
18 | #define CMD_POWER_ON 0x51 | ||
19 | |||
20 | enum cxusb_i2c_pathes { | ||
21 | PATH_UNDEF = 0x00, | ||
22 | PATH_CX22702 = 0x01, | ||
23 | PATH_TUNER_OTHER = 0x02, | ||
24 | }; | ||
25 | |||
26 | struct cxusb_state { | ||
27 | enum cxusb_i2c_pathes cur_i2c_path; | ||
28 | }; | ||
29 | |||
30 | #endif | ||