aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/gl861.h
diff options
context:
space:
mode:
authorCarl Lundqvist <comabug@gmail.com>2006-10-03 16:09:30 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:35:25 -0500
commitf0c3a2ca56c5c56ecfaf46c1b47851319e9655ac (patch)
treee9290181ea691fb37a996ee308e8af2f3a502dcc /drivers/media/dvb/dvb-usb/gl861.h
parent6345f0f6428cc7a3f73b83624c6f97629a9fddd1 (diff)
V4L/DVB (5221): Dvb-usb: initial support for MSI Mega Sky 580 DVB-T based on GL861
This patch adds support for MSI Mega Sky 580 / GL861 DVB-T USB2.0 Except for the 2 lines added to zl10353.c, zl10353_reset_attach needs to be changed. If I read the code correctly setting parallel_ts will take care of the 3rd byte, but the 2nd byte needs to be 0x0b instead of 0x03 too. I guess these changes needs to be done only for this device, not sure how to do that. The zl10353 changes have been split apart from this patch, into the next patch, soon to follow. Signed-off-by: Carl Lundqvist <comabug@gmail.com> 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/gl861.h')
-rw-r--r--drivers/media/dvb/dvb-usb/gl861.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/gl861.h b/drivers/media/dvb/dvb-usb/gl861.h
new file mode 100644
index 000000000000..df97fcf504a7
--- /dev/null
+++ b/drivers/media/dvb/dvb-usb/gl861.h
@@ -0,0 +1,16 @@
1#ifndef _DVB_USB_GL861_H_
2#define _DVB_USB_GL861_H_
3
4#define DVB_USB_LOG_PREFIX "gl861"
5#include "dvb-usb.h"
6
7extern int dvb_usb_gl861_debug;
8#define deb_rc(args...) dprintk(dvb_usb_gl861_debug,0x01,args)
9
10#define GL861_WRITE 0x40
11#define GL861_READ 0xc0
12
13#define GL861_REQ_I2C_WRITE 0x01
14#define GL861_REQ_I2C_READ 0x02
15
16#endif