diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-24 08:22:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:05 -0500 |
commit | de3fe21ba2fdc0733ad4e555b95121baeba7fcd5 (patch) | |
tree | e3bee94cd7d9460cf15957865990af0e9120e232 /drivers/media/video/tuner-xc2028.h | |
parent | 215b95baf969c6f895969f0a4ae0479954fba7cd (diff) |
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.h | 15 |
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 @@ | |||
9 | 9 | ||
10 | #include "dvb_frontend.h" | 10 | #include "dvb_frontend.h" |
11 | 11 | ||
12 | #define XC2028_DEFAULT_FIRMWARE "xc3028-v27.fw" | ||
13 | |||
14 | enum xc2028_firm_type { | ||
15 | XC2028_FIRM_NORMAL, | ||
16 | XC2028_FIRM_MTS, | ||
17 | }; | ||
18 | |||
19 | struct xc2028_ctrl { | ||
20 | enum xc2028_firm_type type; | ||
21 | char *fname; | ||
22 | }; | ||
23 | |||
12 | /* xc2028 commands for callback */ | 24 | /* xc2028 commands for callback */ |
13 | #define XC2028_TUNER_RESET 0 | 25 | #define XC2028_TUNER_RESET 0 |
14 | #define XC2028_RESET_CLK 1 | 26 | #define XC2028_RESET_CLK 1 |
15 | 27 | ||
16 | struct dvb_frontend; | ||
17 | struct i2c_client; | ||
18 | |||
19 | #if defined(CONFIG_TUNER_XC2028) || (defined(CONFIG_TUNER_XC2028_MODULE) && defined(MODULE)) | 28 | #if defined(CONFIG_TUNER_XC2028) || (defined(CONFIG_TUNER_XC2028_MODULE) && defined(MODULE)) |
20 | int xc2028_attach(struct dvb_frontend *fe, struct i2c_adapter* i2c_adap, | 29 | int xc2028_attach(struct dvb_frontend *fe, struct i2c_adapter* i2c_adap, |
21 | u8 i2c_addr, struct device *dev, void *video_dev, | 30 | u8 i2c_addr, struct device *dev, void *video_dev, |