summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-10-24 09:22:08 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:01:05 -0200
commitde3fe21ba2fdc0733ad4e555b95121baeba7fcd5 (patch)
treee3bee94cd7d9460cf15957865990af0e9120e232 /drivers/media/video/tuner-xc2028.h
parent215b95baf969c6f895969f0a4ae0479954fba7cd (diff)
downloadblackbird-op-linux-de3fe21ba2fdc0733ad4e555b95121baeba7fcd5.tar.gz
blackbird-op-linux-de3fe21ba2fdc0733ad4e555b95121baeba7fcd5.zip
V4L/DVB (6431): Improve firmware format
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-xc2028.h')
-rw-r--r--drivers/media/video/tuner-xc2028.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers/media/video/tuner-xc2028.h b/drivers/media/video/tuner-xc2028.h
index d5a18a37d1c5..f4856f07bd08 100644
--- a/drivers/media/video/tuner-xc2028.h
+++ b/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,
OpenPOWER on IntegriCloud