diff options
Diffstat (limited to 'drivers/media/common/tuners/tuner-xc2028.h')
-rw-r--r-- | drivers/media/common/tuners/tuner-xc2028.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/media/common/tuners/tuner-xc2028.h b/drivers/media/common/tuners/tuner-xc2028.h index 2c5b6282b569..19de7928a74e 100644 --- a/drivers/media/common/tuners/tuner-xc2028.h +++ b/drivers/media/common/tuners/tuner-xc2028.h | |||
@@ -24,24 +24,28 @@ | |||
24 | #define XC3028_FE_ZARLINK456 4560 | 24 | #define XC3028_FE_ZARLINK456 4560 |
25 | #define XC3028_FE_CHINA 5200 | 25 | #define XC3028_FE_CHINA 5200 |
26 | 26 | ||
27 | enum firmware_type { | ||
28 | XC2028_AUTO = 0, /* By default, auto-detects */ | ||
29 | XC2028_D2633, | ||
30 | XC2028_D2620, | ||
31 | }; | ||
32 | |||
27 | struct xc2028_ctrl { | 33 | struct xc2028_ctrl { |
28 | char *fname; | 34 | char *fname; |
29 | int max_len; | 35 | int max_len; |
30 | unsigned int scode_table; | 36 | unsigned int scode_table; |
31 | unsigned int mts :1; | 37 | unsigned int mts :1; |
32 | unsigned int d2633 :1; | ||
33 | unsigned int input1:1; | 38 | unsigned int input1:1; |
34 | unsigned int vhfbw7:1; | 39 | unsigned int vhfbw7:1; |
35 | unsigned int uhfbw8:1; | 40 | unsigned int uhfbw8:1; |
36 | unsigned int demod; | 41 | unsigned int demod; |
42 | enum firmware_type type:2; | ||
37 | }; | 43 | }; |
38 | 44 | ||
39 | struct xc2028_config { | 45 | struct xc2028_config { |
40 | struct i2c_adapter *i2c_adap; | 46 | struct i2c_adapter *i2c_adap; |
41 | u8 i2c_addr; | 47 | u8 i2c_addr; |
42 | void *video_dev; | ||
43 | struct xc2028_ctrl *ctrl; | 48 | struct xc2028_ctrl *ctrl; |
44 | int (*callback) (void *dev, int command, int arg); | ||
45 | }; | 49 | }; |
46 | 50 | ||
47 | /* xc2028 commands for callback */ | 51 | /* xc2028 commands for callback */ |