summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-xc2028.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-10-24 10:22:08 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-24 10:22:08 -0200
commit3bca88b5f0fc7fcf0e988206f23a790ae73555ad (patch)
treea668ef4db310559cb7ffed720ea10d740716c494 /linux/drivers/media/video/tuner-xc2028.h
parenta1bf9e7b7282eca1a559270b1e3d39df743c52b3 (diff)
downloadmediapointer-dvb-s2-3bca88b5f0fc7fcf0e988206f23a790ae73555ad.tar.gz
mediapointer-dvb-s2-3bca88b5f0fc7fcf0e988206f23a790ae73555ad.tar.bz2
Improve firmware format
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> --- linux/drivers/media/video/tuner-xc2028-types.h | 99 +++++ linux/drivers/media/video/tuner-xc2028.c | 463 +++++++++++++++++++------ linux/drivers/media/video/tuner-xc2028.h | 15 3 files changed, 466 insertions(+), 111 deletions(-)
Diffstat (limited to 'linux/drivers/media/video/tuner-xc2028.h')
-rw-r--r--linux/drivers/media/video/tuner-xc2028.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.h b/linux/drivers/media/video/tuner-xc2028.h
index d5a18a37d..f4856f07b 100644
--- a/linux/drivers/media/video/tuner-xc2028.h
+++ b/linux/drivers/media/video/tuner-xc2028.h
@@ -9,13 +9,22 @@
#include "dvb_frontend.h"
+#define XC2028_DEFAULT_FIRMWARE "xc3028-v27.fw"
+
+enum xc2028_firm_type {
+ XC2028_FIRM_NORMAL,
+ XC2028_FIRM_MTS,
+};
+
+struct xc2028_ctrl {
+ enum xc2028_firm_type type;
+ char *fname;
+};
+
/* xc2028 commands for callback */
#define XC2028_TUNER_RESET 0
#define XC2028_RESET_CLK 1
-struct dvb_frontend;
-struct i2c_client;
-
#if defined(CONFIG_TUNER_XC2028) || (defined(CONFIG_TUNER_XC2028_MODULE) && defined(MODULE))
int xc2028_attach(struct dvb_frontend *fe, struct i2c_adapter* i2c_adap,
u8 i2c_addr, struct device *dev, void *video_dev,