aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@m1k.net>2006-01-23 14:11:11 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-23 14:11:11 -0500
commit3fc46d35b30cfae018c4903228a270c9543f4d7a (patch)
tree72f02a4cb4e8f8087f1f384d82a4daa9de13086f
parentab66b22f0c4e5786d59fa23569ac37a4a21ab4fb (diff)
V4L/DVB (3436): move config byte from tuner_params to tuner_range struct.
- Move config byte from tuner_params to tuner_range struct. - dvb tuners must be able to set different config byte for each range. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/tuner-simple.c15
-rw-r--r--drivers/media/video/tuner-types.c395
-rw-r--r--include/media/tuner-types.h2
3 files changed, 176 insertions, 236 deletions
diff --git a/drivers/media/video/tuner-simple.c b/drivers/media/video/tuner-simple.c
index 2c6410cc0fe9..6f0d376f0d18 100644
--- a/drivers/media/video/tuner-simple.c
+++ b/drivers/media/video/tuner-simple.c
@@ -133,7 +133,7 @@ static int tuner_stereo(struct i2c_client *c)
133static void default_set_tv_freq(struct i2c_client *c, unsigned int freq) 133static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
134{ 134{
135 struct tuner *t = i2c_get_clientdata(c); 135 struct tuner *t = i2c_get_clientdata(c);
136 u8 cb, tuneraddr; 136 u8 config, cb, tuneraddr;
137 u16 div; 137 u16 div;
138 struct tunertype *tun; 138 struct tunertype *tun;
139 u8 buffer[4]; 139 u8 buffer[4];
@@ -152,6 +152,7 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
152 freq, tun->params[j].ranges[i - 1].limit); 152 freq, tun->params[j].ranges[i - 1].limit);
153 freq = tun->params[j].ranges[--i].limit; 153 freq = tun->params[j].ranges[--i].limit;
154 } 154 }
155 config = tun->params[j].ranges[i].config;
155 cb = tun->params[j].ranges[i].cb; 156 cb = tun->params[j].ranges[i].cb;
156 /* i == 0 -> VHF_LO */ 157 /* i == 0 -> VHF_LO */
157 /* i == 1 -> VHF_HI */ 158 /* i == 1 -> VHF_HI */
@@ -215,7 +216,7 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
215 216
216 case TUNER_MICROTUNE_4042FI5: 217 case TUNER_MICROTUNE_4042FI5:
217 /* Set the charge pump for fast tuning */ 218 /* Set the charge pump for fast tuning */
218 tun->params[j].config |= TUNER_CHARGE_PUMP; 219 config |= TUNER_CHARGE_PUMP;
219 break; 220 break;
220 221
221 case TUNER_PHILIPS_TUV1236D: 222 case TUNER_PHILIPS_TUV1236D:
@@ -276,14 +277,14 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
276 div); 277 div);
277 278
278 if (tuners[t->type].params->cb_first_if_lower_freq && div < t->last_div) { 279 if (tuners[t->type].params->cb_first_if_lower_freq && div < t->last_div) {
279 buffer[0] = tun->params[j].config; 280 buffer[0] = config;
280 buffer[1] = cb; 281 buffer[1] = cb;
281 buffer[2] = (div>>8) & 0x7f; 282 buffer[2] = (div>>8) & 0x7f;
282 buffer[3] = div & 0xff; 283 buffer[3] = div & 0xff;
283 } else { 284 } else {
284 buffer[0] = (div>>8) & 0x7f; 285 buffer[0] = (div>>8) & 0x7f;
285 buffer[1] = div & 0xff; 286 buffer[1] = div & 0xff;
286 buffer[2] = tun->params[j].config; 287 buffer[2] = config;
287 buffer[3] = cb; 288 buffer[3] = cb;
288 } 289 }
289 t->last_div = div; 290 t->last_div = div;
@@ -312,10 +313,10 @@ static void default_set_tv_freq(struct i2c_client *c, unsigned int freq)
312 } 313 }
313 314
314 /* Set the charge pump for optimized phase noise figure */ 315 /* Set the charge pump for optimized phase noise figure */
315 tun->params[j].config &= ~TUNER_CHARGE_PUMP; 316 config &= ~TUNER_CHARGE_PUMP;
316 buffer[0] = (div>>8) & 0x7f; 317 buffer[0] = (div>>8) & 0x7f;
317 buffer[1] = div & 0xff; 318 buffer[1] = div & 0xff;
318 buffer[2] = tun->params[j].config; 319 buffer[2] = config;
319 buffer[3] = cb; 320 buffer[3] = cb;
320 tuner_dbg("tv 0x%02x 0x%02x 0x%02x 0x%02x\n", 321 tuner_dbg("tv 0x%02x 0x%02x 0x%02x 0x%02x\n",
321 buffer[0],buffer[1],buffer[2],buffer[3]); 322 buffer[0],buffer[1],buffer[2],buffer[3]);
@@ -337,7 +338,7 @@ static void default_set_radio_freq(struct i2c_client *c, unsigned int freq)
337 j = TUNER_PARAM_ANALOG; 338 j = TUNER_PARAM_ANALOG;
338 339
339 div = (20 * freq / 16000) + (int)(20*10.7); /* IF 10.7 MHz */ 340 div = (20 * freq / 16000) + (int)(20*10.7); /* IF 10.7 MHz */
340 buffer[2] = (tun->params[j].config & ~TUNER_RATIO_MASK) | TUNER_RATIO_SELECT_50; /* 50 kHz step */ 341 buffer[2] = (tun->params[j].ranges[0].config & ~TUNER_RATIO_MASK) | TUNER_RATIO_SELECT_50; /* 50 kHz step */
341 342
342 switch (t->type) { 343 switch (t->type) {
343 case TUNER_TENA_9533_DI: 344 case TUNER_TENA_9533_DI:
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c
index 6fe781798d89..d37f833997dd 100644
--- a/drivers/media/video/tuner-types.c
+++ b/drivers/media/video/tuner-types.c
@@ -36,9 +36,9 @@
36/* ------------ TUNER_TEMIC_PAL - TEMIC PAL ------------ */ 36/* ------------ TUNER_TEMIC_PAL - TEMIC PAL ------------ */
37 37
38static struct tuner_range tuner_temic_pal_ranges[] = { 38static struct tuner_range tuner_temic_pal_ranges[] = {
39 { 16 * 140.25 /*MHz*/, 0x02, }, 39 { 16 * 140.25 /*MHz*/, 0x8e, 0x02, },
40 { 16 * 463.25 /*MHz*/, 0x04, }, 40 { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
41 { 16 * 999.99 , 0x01, }, 41 { 16 * 999.99 , 0x8e, 0x01, },
42}; 42};
43 43
44static struct tuner_params tuner_temic_pal_params[] = { 44static struct tuner_params tuner_temic_pal_params[] = {
@@ -46,16 +46,15 @@ static struct tuner_params tuner_temic_pal_params[] = {
46 .type = TUNER_PARAM_TYPE_PAL, 46 .type = TUNER_PARAM_TYPE_PAL,
47 .ranges = tuner_temic_pal_ranges, 47 .ranges = tuner_temic_pal_ranges,
48 .count = ARRAY_SIZE(tuner_temic_pal_ranges), 48 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
49 .config = 0x8e,
50 }, 49 },
51}; 50};
52 51
53/* ------------ TUNER_PHILIPS_PAL_I - Philips PAL_I ------------ */ 52/* ------------ TUNER_PHILIPS_PAL_I - Philips PAL_I ------------ */
54 53
55static struct tuner_range tuner_philips_pal_i_ranges[] = { 54static struct tuner_range tuner_philips_pal_i_ranges[] = {
56 { 16 * 140.25 /*MHz*/, 0xa0, }, 55 { 16 * 140.25 /*MHz*/, 0x8e, 0xa0, },
57 { 16 * 463.25 /*MHz*/, 0x90, }, 56 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
58 { 16 * 999.99 , 0x30, }, 57 { 16 * 999.99 , 0x8e, 0x30, },
59}; 58};
60 59
61static struct tuner_params tuner_philips_pal_i_params[] = { 60static struct tuner_params tuner_philips_pal_i_params[] = {
@@ -63,16 +62,15 @@ static struct tuner_params tuner_philips_pal_i_params[] = {
63 .type = TUNER_PARAM_TYPE_PAL, 62 .type = TUNER_PARAM_TYPE_PAL,
64 .ranges = tuner_philips_pal_i_ranges, 63 .ranges = tuner_philips_pal_i_ranges,
65 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges), 64 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges),
66 .config = 0x8e,
67 }, 65 },
68}; 66};
69 67
70/* ------------ TUNER_PHILIPS_NTSC - Philips NTSC ------------ */ 68/* ------------ TUNER_PHILIPS_NTSC - Philips NTSC ------------ */
71 69
72static struct tuner_range tuner_philips_ntsc_ranges[] = { 70static struct tuner_range tuner_philips_ntsc_ranges[] = {
73 { 16 * 157.25 /*MHz*/, 0xa0, }, 71 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
74 { 16 * 451.25 /*MHz*/, 0x90, }, 72 { 16 * 451.25 /*MHz*/, 0x8e, 0x90, },
75 { 16 * 999.99 , 0x30, }, 73 { 16 * 999.99 , 0x8e, 0x30, },
76}; 74};
77 75
78static struct tuner_params tuner_philips_ntsc_params[] = { 76static struct tuner_params tuner_philips_ntsc_params[] = {
@@ -80,7 +78,6 @@ static struct tuner_params tuner_philips_ntsc_params[] = {
80 .type = TUNER_PARAM_TYPE_NTSC, 78 .type = TUNER_PARAM_TYPE_NTSC,
81 .ranges = tuner_philips_ntsc_ranges, 79 .ranges = tuner_philips_ntsc_ranges,
82 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges), 80 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges),
83 .config = 0x8e,
84 .cb_first_if_lower_freq = 1, 81 .cb_first_if_lower_freq = 1,
85 }, 82 },
86}; 83};
@@ -88,9 +85,9 @@ static struct tuner_params tuner_philips_ntsc_params[] = {
88/* ------------ TUNER_PHILIPS_SECAM - Philips SECAM ------------ */ 85/* ------------ TUNER_PHILIPS_SECAM - Philips SECAM ------------ */
89 86
90static struct tuner_range tuner_philips_secam_ranges[] = { 87static struct tuner_range tuner_philips_secam_ranges[] = {
91 { 16 * 168.25 /*MHz*/, 0xa7, }, 88 { 16 * 168.25 /*MHz*/, 0x8e, 0xa7, },
92 { 16 * 447.25 /*MHz*/, 0x97, }, 89 { 16 * 447.25 /*MHz*/, 0x8e, 0x97, },
93 { 16 * 999.99 , 0x37, }, 90 { 16 * 999.99 , 0x8e, 0x37, },
94}; 91};
95 92
96static struct tuner_params tuner_philips_secam_params[] = { 93static struct tuner_params tuner_philips_secam_params[] = {
@@ -98,7 +95,6 @@ static struct tuner_params tuner_philips_secam_params[] = {
98 .type = TUNER_PARAM_TYPE_SECAM, 95 .type = TUNER_PARAM_TYPE_SECAM,
99 .ranges = tuner_philips_secam_ranges, 96 .ranges = tuner_philips_secam_ranges,
100 .count = ARRAY_SIZE(tuner_philips_secam_ranges), 97 .count = ARRAY_SIZE(tuner_philips_secam_ranges),
101 .config = 0x8e,
102 .cb_first_if_lower_freq = 1, 98 .cb_first_if_lower_freq = 1,
103 }, 99 },
104}; 100};
@@ -106,9 +102,9 @@ static struct tuner_params tuner_philips_secam_params[] = {
106/* ------------ TUNER_PHILIPS_PAL - Philips PAL ------------ */ 102/* ------------ TUNER_PHILIPS_PAL - Philips PAL ------------ */
107 103
108static struct tuner_range tuner_philips_pal_ranges[] = { 104static struct tuner_range tuner_philips_pal_ranges[] = {
109 { 16 * 168.25 /*MHz*/, 0xa0, }, 105 { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
110 { 16 * 447.25 /*MHz*/, 0x90, }, 106 { 16 * 447.25 /*MHz*/, 0x8e, 0x90, },
111 { 16 * 999.99 , 0x30, }, 107 { 16 * 999.99 , 0x8e, 0x30, },
112}; 108};
113 109
114static struct tuner_params tuner_philips_pal_params[] = { 110static struct tuner_params tuner_philips_pal_params[] = {
@@ -116,7 +112,6 @@ static struct tuner_params tuner_philips_pal_params[] = {
116 .type = TUNER_PARAM_TYPE_PAL, 112 .type = TUNER_PARAM_TYPE_PAL,
117 .ranges = tuner_philips_pal_ranges, 113 .ranges = tuner_philips_pal_ranges,
118 .count = ARRAY_SIZE(tuner_philips_pal_ranges), 114 .count = ARRAY_SIZE(tuner_philips_pal_ranges),
119 .config = 0x8e,
120 .cb_first_if_lower_freq = 1, 115 .cb_first_if_lower_freq = 1,
121 }, 116 },
122}; 117};
@@ -124,9 +119,9 @@ static struct tuner_params tuner_philips_pal_params[] = {
124/* ------------ TUNER_TEMIC_NTSC - TEMIC NTSC ------------ */ 119/* ------------ TUNER_TEMIC_NTSC - TEMIC NTSC ------------ */
125 120
126static struct tuner_range tuner_temic_ntsc_ranges[] = { 121static struct tuner_range tuner_temic_ntsc_ranges[] = {
127 { 16 * 157.25 /*MHz*/, 0x02, }, 122 { 16 * 157.25 /*MHz*/, 0x8e, 0x02, },
128 { 16 * 463.25 /*MHz*/, 0x04, }, 123 { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
129 { 16 * 999.99 , 0x01, }, 124 { 16 * 999.99 , 0x8e, 0x01, },
130}; 125};
131 126
132static struct tuner_params tuner_temic_ntsc_params[] = { 127static struct tuner_params tuner_temic_ntsc_params[] = {
@@ -134,16 +129,15 @@ static struct tuner_params tuner_temic_ntsc_params[] = {
134 .type = TUNER_PARAM_TYPE_NTSC, 129 .type = TUNER_PARAM_TYPE_NTSC,
135 .ranges = tuner_temic_ntsc_ranges, 130 .ranges = tuner_temic_ntsc_ranges,
136 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges), 131 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges),
137 .config = 0x8e,
138 }, 132 },
139}; 133};
140 134
141/* ------------ TUNER_TEMIC_PAL_I - TEMIC PAL_I ------------ */ 135/* ------------ TUNER_TEMIC_PAL_I - TEMIC PAL_I ------------ */
142 136
143static struct tuner_range tuner_temic_pal_i_ranges[] = { 137static struct tuner_range tuner_temic_pal_i_ranges[] = {
144 { 16 * 170.00 /*MHz*/, 0x02, }, 138 { 16 * 170.00 /*MHz*/, 0x8e, 0x02, },
145 { 16 * 450.00 /*MHz*/, 0x04, }, 139 { 16 * 450.00 /*MHz*/, 0x8e, 0x04, },
146 { 16 * 999.99 , 0x01, }, 140 { 16 * 999.99 , 0x8e, 0x01, },
147}; 141};
148 142
149static struct tuner_params tuner_temic_pal_i_params[] = { 143static struct tuner_params tuner_temic_pal_i_params[] = {
@@ -151,16 +145,15 @@ static struct tuner_params tuner_temic_pal_i_params[] = {
151 .type = TUNER_PARAM_TYPE_PAL, 145 .type = TUNER_PARAM_TYPE_PAL,
152 .ranges = tuner_temic_pal_i_ranges, 146 .ranges = tuner_temic_pal_i_ranges,
153 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges), 147 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges),
154 .config = 0x8e,
155 }, 148 },
156}; 149};
157 150
158/* ------------ TUNER_TEMIC_4036FY5_NTSC - TEMIC NTSC ------------ */ 151/* ------------ TUNER_TEMIC_4036FY5_NTSC - TEMIC NTSC ------------ */
159 152
160static struct tuner_range tuner_temic_4036fy5_ntsc_ranges[] = { 153static struct tuner_range tuner_temic_4036fy5_ntsc_ranges[] = {
161 { 16 * 157.25 /*MHz*/, 0xa0, }, 154 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
162 { 16 * 463.25 /*MHz*/, 0x90, }, 155 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
163 { 16 * 999.99 , 0x30, }, 156 { 16 * 999.99 , 0x8e, 0x30, },
164}; 157};
165 158
166static struct tuner_params tuner_temic_4036fy5_ntsc_params[] = { 159static struct tuner_params tuner_temic_4036fy5_ntsc_params[] = {
@@ -168,16 +161,15 @@ static struct tuner_params tuner_temic_4036fy5_ntsc_params[] = {
168 .type = TUNER_PARAM_TYPE_NTSC, 161 .type = TUNER_PARAM_TYPE_NTSC,
169 .ranges = tuner_temic_4036fy5_ntsc_ranges, 162 .ranges = tuner_temic_4036fy5_ntsc_ranges,
170 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges), 163 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
171 .config = 0x8e,
172 }, 164 },
173}; 165};
174 166
175/* ------------ TUNER_ALPS_TSBH1_NTSC - TEMIC NTSC ------------ */ 167/* ------------ TUNER_ALPS_TSBH1_NTSC - TEMIC NTSC ------------ */
176 168
177static struct tuner_range tuner_alps_tsb_1_ranges[] = { 169static struct tuner_range tuner_alps_tsb_1_ranges[] = {
178 { 16 * 137.25 /*MHz*/, 0x01, }, 170 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
179 { 16 * 385.25 /*MHz*/, 0x02, }, 171 { 16 * 385.25 /*MHz*/, 0x8e, 0x02, },
180 { 16 * 999.99 , 0x08, }, 172 { 16 * 999.99 , 0x8e, 0x08, },
181}; 173};
182 174
183static struct tuner_params tuner_alps_tsbh1_ntsc_params[] = { 175static struct tuner_params tuner_alps_tsbh1_ntsc_params[] = {
@@ -185,7 +177,6 @@ static struct tuner_params tuner_alps_tsbh1_ntsc_params[] = {
185 .type = TUNER_PARAM_TYPE_NTSC, 177 .type = TUNER_PARAM_TYPE_NTSC,
186 .ranges = tuner_alps_tsb_1_ranges, 178 .ranges = tuner_alps_tsb_1_ranges,
187 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), 179 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
188 .config = 0x8e,
189 }, 180 },
190}; 181};
191 182
@@ -197,16 +188,15 @@ static struct tuner_params tuner_alps_tsb_1_params[] = {
197 .type = TUNER_PARAM_TYPE_PAL, 188 .type = TUNER_PARAM_TYPE_PAL,
198 .ranges = tuner_alps_tsb_1_ranges, 189 .ranges = tuner_alps_tsb_1_ranges,
199 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), 190 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
200 .config = 0x8e,
201 }, 191 },
202}; 192};
203 193
204/* ------------ TUNER_ALPS_TSBB5_PAL_I - Alps PAL_I ------------ */ 194/* ------------ TUNER_ALPS_TSBB5_PAL_I - Alps PAL_I ------------ */
205 195
206static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = { 196static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = {
207 { 16 * 133.25 /*MHz*/, 0x01, }, 197 { 16 * 133.25 /*MHz*/, 0x8e, 0x01, },
208 { 16 * 351.25 /*MHz*/, 0x02, }, 198 { 16 * 351.25 /*MHz*/, 0x8e, 0x02, },
209 { 16 * 999.99 , 0x08, }, 199 { 16 * 999.99 , 0x8e, 0x08, },
210}; 200};
211 201
212static struct tuner_params tuner_alps_tsbb5_params[] = { 202static struct tuner_params tuner_alps_tsbb5_params[] = {
@@ -214,7 +204,6 @@ static struct tuner_params tuner_alps_tsbb5_params[] = {
214 .type = TUNER_PARAM_TYPE_PAL, 204 .type = TUNER_PARAM_TYPE_PAL,
215 .ranges = tuner_alps_tsb_5_pal_ranges, 205 .ranges = tuner_alps_tsb_5_pal_ranges,
216 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges), 206 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
217 .config = 0x8e,
218 }, 207 },
219}; 208};
220 209
@@ -225,7 +214,6 @@ static struct tuner_params tuner_alps_tsbe5_params[] = {
225 .type = TUNER_PARAM_TYPE_PAL, 214 .type = TUNER_PARAM_TYPE_PAL,
226 .ranges = tuner_alps_tsb_5_pal_ranges, 215 .ranges = tuner_alps_tsb_5_pal_ranges,
227 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges), 216 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
228 .config = 0x8e,
229 }, 217 },
230}; 218};
231 219
@@ -236,16 +224,15 @@ static struct tuner_params tuner_alps_tsbc5_params[] = {
236 .type = TUNER_PARAM_TYPE_PAL, 224 .type = TUNER_PARAM_TYPE_PAL,
237 .ranges = tuner_alps_tsb_5_pal_ranges, 225 .ranges = tuner_alps_tsb_5_pal_ranges,
238 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges), 226 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
239 .config = 0x8e,
240 }, 227 },
241}; 228};
242 229
243/* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */ 230/* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */
244 231
245static struct tuner_range tuner_temic_4006fh5_pal_ranges[] = { 232static struct tuner_range tuner_temic_4006fh5_pal_ranges[] = {
246 { 16 * 170.00 /*MHz*/, 0xa0, }, 233 { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, },
247 { 16 * 450.00 /*MHz*/, 0x90, }, 234 { 16 * 450.00 /*MHz*/, 0x8e, 0x90, },
248 { 16 * 999.99 , 0x30, }, 235 { 16 * 999.99 , 0x8e, 0x30, },
249}; 236};
250 237
251static struct tuner_params tuner_temic_4006fh5_params[] = { 238static struct tuner_params tuner_temic_4006fh5_params[] = {
@@ -253,16 +240,15 @@ static struct tuner_params tuner_temic_4006fh5_params[] = {
253 .type = TUNER_PARAM_TYPE_PAL, 240 .type = TUNER_PARAM_TYPE_PAL,
254 .ranges = tuner_temic_4006fh5_pal_ranges, 241 .ranges = tuner_temic_4006fh5_pal_ranges,
255 .count = ARRAY_SIZE(tuner_temic_4006fh5_pal_ranges), 242 .count = ARRAY_SIZE(tuner_temic_4006fh5_pal_ranges),
256 .config = 0x8e,
257 }, 243 },
258}; 244};
259 245
260/* ------------ TUNER_ALPS_TSHC6_NTSC - Alps NTSC ------------ */ 246/* ------------ TUNER_ALPS_TSHC6_NTSC - Alps NTSC ------------ */
261 247
262static struct tuner_range tuner_alps_tshc6_ntsc_ranges[] = { 248static struct tuner_range tuner_alps_tshc6_ntsc_ranges[] = {
263 { 16 * 137.25 /*MHz*/, 0x14, }, 249 { 16 * 137.25 /*MHz*/, 0x8e, 0x14, },
264 { 16 * 385.25 /*MHz*/, 0x12, }, 250 { 16 * 385.25 /*MHz*/, 0x8e, 0x12, },
265 { 16 * 999.99 , 0x11, }, 251 { 16 * 999.99 , 0x8e, 0x11, },
266}; 252};
267 253
268static struct tuner_params tuner_alps_tshc6_params[] = { 254static struct tuner_params tuner_alps_tshc6_params[] = {
@@ -270,16 +256,15 @@ static struct tuner_params tuner_alps_tshc6_params[] = {
270 .type = TUNER_PARAM_TYPE_NTSC, 256 .type = TUNER_PARAM_TYPE_NTSC,
271 .ranges = tuner_alps_tshc6_ntsc_ranges, 257 .ranges = tuner_alps_tshc6_ntsc_ranges,
272 .count = ARRAY_SIZE(tuner_alps_tshc6_ntsc_ranges), 258 .count = ARRAY_SIZE(tuner_alps_tshc6_ntsc_ranges),
273 .config = 0x8e,
274 }, 259 },
275}; 260};
276 261
277/* ------------ TUNER_TEMIC_PAL_DK - TEMIC PAL ------------ */ 262/* ------------ TUNER_TEMIC_PAL_DK - TEMIC PAL ------------ */
278 263
279static struct tuner_range tuner_temic_pal_dk_ranges[] = { 264static struct tuner_range tuner_temic_pal_dk_ranges[] = {
280 { 16 * 168.25 /*MHz*/, 0xa0, }, 265 { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
281 { 16 * 456.25 /*MHz*/, 0x90, }, 266 { 16 * 456.25 /*MHz*/, 0x8e, 0x90, },
282 { 16 * 999.99 , 0x30, }, 267 { 16 * 999.99 , 0x8e, 0x30, },
283}; 268};
284 269
285static struct tuner_params tuner_temic_pal_dk_params[] = { 270static struct tuner_params tuner_temic_pal_dk_params[] = {
@@ -287,16 +272,15 @@ static struct tuner_params tuner_temic_pal_dk_params[] = {
287 .type = TUNER_PARAM_TYPE_PAL, 272 .type = TUNER_PARAM_TYPE_PAL,
288 .ranges = tuner_temic_pal_dk_ranges, 273 .ranges = tuner_temic_pal_dk_ranges,
289 .count = ARRAY_SIZE(tuner_temic_pal_dk_ranges), 274 .count = ARRAY_SIZE(tuner_temic_pal_dk_ranges),
290 .config = 0x8e,
291 }, 275 },
292}; 276};
293 277
294/* ------------ TUNER_PHILIPS_NTSC_M - Philips NTSC ------------ */ 278/* ------------ TUNER_PHILIPS_NTSC_M - Philips NTSC ------------ */
295 279
296static struct tuner_range tuner_philips_ntsc_m_ranges[] = { 280static struct tuner_range tuner_philips_ntsc_m_ranges[] = {
297 { 16 * 160.00 /*MHz*/, 0xa0, }, 281 { 16 * 160.00 /*MHz*/, 0x8e, 0xa0, },
298 { 16 * 454.00 /*MHz*/, 0x90, }, 282 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
299 { 16 * 999.99 , 0x30, }, 283 { 16 * 999.99 , 0x8e, 0x30, },
300}; 284};
301 285
302static struct tuner_params tuner_philips_ntsc_m_params[] = { 286static struct tuner_params tuner_philips_ntsc_m_params[] = {
@@ -304,16 +288,15 @@ static struct tuner_params tuner_philips_ntsc_m_params[] = {
304 .type = TUNER_PARAM_TYPE_NTSC, 288 .type = TUNER_PARAM_TYPE_NTSC,
305 .ranges = tuner_philips_ntsc_m_ranges, 289 .ranges = tuner_philips_ntsc_m_ranges,
306 .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges), 290 .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
307 .config = 0x8e,
308 }, 291 },
309}; 292};
310 293
311/* ------------ TUNER_TEMIC_4066FY5_PAL_I - TEMIC PAL_I ------------ */ 294/* ------------ TUNER_TEMIC_4066FY5_PAL_I - TEMIC PAL_I ------------ */
312 295
313static struct tuner_range tuner_temic_40x6f_5_pal_ranges[] = { 296static struct tuner_range tuner_temic_40x6f_5_pal_ranges[] = {
314 { 16 * 169.00 /*MHz*/, 0xa0, }, 297 { 16 * 169.00 /*MHz*/, 0x8e, 0xa0, },
315 { 16 * 454.00 /*MHz*/, 0x90, }, 298 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
316 { 16 * 999.99 , 0x30, }, 299 { 16 * 999.99 , 0x8e, 0x30, },
317}; 300};
318 301
319static struct tuner_params tuner_temic_4066fy5_pal_i_params[] = { 302static struct tuner_params tuner_temic_4066fy5_pal_i_params[] = {
@@ -321,7 +304,6 @@ static struct tuner_params tuner_temic_4066fy5_pal_i_params[] = {
321 .type = TUNER_PARAM_TYPE_PAL, 304 .type = TUNER_PARAM_TYPE_PAL,
322 .ranges = tuner_temic_40x6f_5_pal_ranges, 305 .ranges = tuner_temic_40x6f_5_pal_ranges,
323 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges), 306 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
324 .config = 0x8e,
325 }, 307 },
326}; 308};
327 309
@@ -332,7 +314,6 @@ static struct tuner_params tuner_temic_4006fn5_multi_params[] = {
332 .type = TUNER_PARAM_TYPE_PAL, 314 .type = TUNER_PARAM_TYPE_PAL,
333 .ranges = tuner_temic_40x6f_5_pal_ranges, 315 .ranges = tuner_temic_40x6f_5_pal_ranges,
334 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges), 316 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
335 .config = 0x8e,
336 }, 317 },
337}; 318};
338 319
@@ -340,9 +321,9 @@ static struct tuner_params tuner_temic_4006fn5_multi_params[] = {
340/* ------------ TUNER_TEMIC_4009FR5_PAL - TEMIC PAL ------------ */ 321/* ------------ TUNER_TEMIC_4009FR5_PAL - TEMIC PAL ------------ */
341 322
342static struct tuner_range tuner_temic_4009f_5_pal_ranges[] = { 323static struct tuner_range tuner_temic_4009f_5_pal_ranges[] = {
343 { 16 * 141.00 /*MHz*/, 0xa0, }, 324 { 16 * 141.00 /*MHz*/, 0x8e, 0xa0, },
344 { 16 * 464.00 /*MHz*/, 0x90, }, 325 { 16 * 464.00 /*MHz*/, 0x8e, 0x90, },
345 { 16 * 999.99 , 0x30, }, 326 { 16 * 999.99 , 0x8e, 0x30, },
346}; 327};
347 328
348static struct tuner_params tuner_temic_4009f_5_params[] = { 329static struct tuner_params tuner_temic_4009f_5_params[] = {
@@ -350,16 +331,15 @@ static struct tuner_params tuner_temic_4009f_5_params[] = {
350 .type = TUNER_PARAM_TYPE_PAL, 331 .type = TUNER_PARAM_TYPE_PAL,
351 .ranges = tuner_temic_4009f_5_pal_ranges, 332 .ranges = tuner_temic_4009f_5_pal_ranges,
352 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), 333 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
353 .config = 0x8e,
354 }, 334 },
355}; 335};
356 336
357/* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */ 337/* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */
358 338
359static struct tuner_range tuner_temic_4039fr5_ntsc_ranges[] = { 339static struct tuner_range tuner_temic_4039fr5_ntsc_ranges[] = {
360 { 16 * 158.00 /*MHz*/, 0xa0, }, 340 { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, },
361 { 16 * 453.00 /*MHz*/, 0x90, }, 341 { 16 * 453.00 /*MHz*/, 0x8e, 0x90, },
362 { 16 * 999.99 , 0x30, }, 342 { 16 * 999.99 , 0x8e, 0x30, },
363}; 343};
364 344
365static struct tuner_params tuner_temic_4039fr5_params[] = { 345static struct tuner_params tuner_temic_4039fr5_params[] = {
@@ -367,16 +347,15 @@ static struct tuner_params tuner_temic_4039fr5_params[] = {
367 .type = TUNER_PARAM_TYPE_NTSC, 347 .type = TUNER_PARAM_TYPE_NTSC,
368 .ranges = tuner_temic_4039fr5_ntsc_ranges, 348 .ranges = tuner_temic_4039fr5_ntsc_ranges,
369 .count = ARRAY_SIZE(tuner_temic_4039fr5_ntsc_ranges), 349 .count = ARRAY_SIZE(tuner_temic_4039fr5_ntsc_ranges),
370 .config = 0x8e,
371 }, 350 },
372}; 351};
373 352
374/* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */ 353/* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */
375 354
376static struct tuner_range tuner_temic_4046fm5_pal_ranges[] = { 355static struct tuner_range tuner_temic_4046fm5_pal_ranges[] = {
377 { 16 * 169.00 /*MHz*/, 0xa0, }, 356 { 16 * 169.00 /*MHz*/, 0x8e, 0xa0, },
378 { 16 * 454.00 /*MHz*/, 0x90, }, 357 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
379 { 16 * 999.99 , 0x30, }, 358 { 16 * 999.99 , 0x8e, 0x30, },
380}; 359};
381 360
382static struct tuner_params tuner_temic_4046fm5_params[] = { 361static struct tuner_params tuner_temic_4046fm5_params[] = {
@@ -384,16 +363,15 @@ static struct tuner_params tuner_temic_4046fm5_params[] = {
384 .type = TUNER_PARAM_TYPE_PAL, 363 .type = TUNER_PARAM_TYPE_PAL,
385 .ranges = tuner_temic_4046fm5_pal_ranges, 364 .ranges = tuner_temic_4046fm5_pal_ranges,
386 .count = ARRAY_SIZE(tuner_temic_4046fm5_pal_ranges), 365 .count = ARRAY_SIZE(tuner_temic_4046fm5_pal_ranges),
387 .config = 0x8e,
388 }, 366 },
389}; 367};
390 368
391/* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */ 369/* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */
392 370
393static struct tuner_range tuner_lg_pal_ranges[] = { 371static struct tuner_range tuner_lg_pal_ranges[] = {
394 { 16 * 170.00 /*MHz*/, 0xa0, }, 372 { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, },
395 { 16 * 450.00 /*MHz*/, 0x90, }, 373 { 16 * 450.00 /*MHz*/, 0x8e, 0x90, },
396 { 16 * 999.99 , 0x30, }, 374 { 16 * 999.99 , 0x8e, 0x30, },
397}; 375};
398 376
399static struct tuner_params tuner_philips_pal_dk_params[] = { 377static struct tuner_params tuner_philips_pal_dk_params[] = {
@@ -401,7 +379,6 @@ static struct tuner_params tuner_philips_pal_dk_params[] = {
401 .type = TUNER_PARAM_TYPE_PAL, 379 .type = TUNER_PARAM_TYPE_PAL,
402 .ranges = tuner_lg_pal_ranges, 380 .ranges = tuner_lg_pal_ranges,
403 .count = ARRAY_SIZE(tuner_lg_pal_ranges), 381 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
404 .config = 0x8e,
405 }, 382 },
406}; 383};
407 384
@@ -412,7 +389,6 @@ static struct tuner_params tuner_philips_fq1216me_params[] = {
412 .type = TUNER_PARAM_TYPE_PAL, 389 .type = TUNER_PARAM_TYPE_PAL,
413 .ranges = tuner_lg_pal_ranges, 390 .ranges = tuner_lg_pal_ranges,
414 .count = ARRAY_SIZE(tuner_lg_pal_ranges), 391 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
415 .config = 0x8e,
416 }, 392 },
417}; 393};
418 394
@@ -423,7 +399,6 @@ static struct tuner_params tuner_lg_pal_i_fm_params[] = {
423 .type = TUNER_PARAM_TYPE_PAL, 399 .type = TUNER_PARAM_TYPE_PAL,
424 .ranges = tuner_lg_pal_ranges, 400 .ranges = tuner_lg_pal_ranges,
425 .count = ARRAY_SIZE(tuner_lg_pal_ranges), 401 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
426 .config = 0x8e,
427 }, 402 },
428}; 403};
429 404
@@ -434,16 +409,15 @@ static struct tuner_params tuner_lg_pal_i_params[] = {
434 .type = TUNER_PARAM_TYPE_PAL, 409 .type = TUNER_PARAM_TYPE_PAL,
435 .ranges = tuner_lg_pal_ranges, 410 .ranges = tuner_lg_pal_ranges,
436 .count = ARRAY_SIZE(tuner_lg_pal_ranges), 411 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
437 .config = 0x8e,
438 }, 412 },
439}; 413};
440 414
441/* ------------ TUNER_LG_NTSC_FM - LGINNOTEK NTSC ------------ */ 415/* ------------ TUNER_LG_NTSC_FM - LGINNOTEK NTSC ------------ */
442 416
443static struct tuner_range tuner_lg_ntsc_fm_ranges[] = { 417static struct tuner_range tuner_lg_ntsc_fm_ranges[] = {
444 { 16 * 210.00 /*MHz*/, 0xa0, }, 418 { 16 * 210.00 /*MHz*/, 0x8e, 0xa0, },
445 { 16 * 497.00 /*MHz*/, 0x90, }, 419 { 16 * 497.00 /*MHz*/, 0x8e, 0x90, },
446 { 16 * 999.99 , 0x30, }, 420 { 16 * 999.99 , 0x8e, 0x30, },
447}; 421};
448 422
449static struct tuner_params tuner_lg_ntsc_fm_params[] = { 423static struct tuner_params tuner_lg_ntsc_fm_params[] = {
@@ -451,7 +425,6 @@ static struct tuner_params tuner_lg_ntsc_fm_params[] = {
451 .type = TUNER_PARAM_TYPE_NTSC, 425 .type = TUNER_PARAM_TYPE_NTSC,
452 .ranges = tuner_lg_ntsc_fm_ranges, 426 .ranges = tuner_lg_ntsc_fm_ranges,
453 .count = ARRAY_SIZE(tuner_lg_ntsc_fm_ranges), 427 .count = ARRAY_SIZE(tuner_lg_ntsc_fm_ranges),
454 .config = 0x8e,
455 }, 428 },
456}; 429};
457 430
@@ -462,7 +435,6 @@ static struct tuner_params tuner_lg_pal_fm_params[] = {
462 .type = TUNER_PARAM_TYPE_PAL, 435 .type = TUNER_PARAM_TYPE_PAL,
463 .ranges = tuner_lg_pal_ranges, 436 .ranges = tuner_lg_pal_ranges,
464 .count = ARRAY_SIZE(tuner_lg_pal_ranges), 437 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
465 .config = 0x8e,
466 }, 438 },
467}; 439};
468 440
@@ -473,7 +445,6 @@ static struct tuner_params tuner_lg_pal_params[] = {
473 .type = TUNER_PARAM_TYPE_PAL, 445 .type = TUNER_PARAM_TYPE_PAL,
474 .ranges = tuner_lg_pal_ranges, 446 .ranges = tuner_lg_pal_ranges,
475 .count = ARRAY_SIZE(tuner_lg_pal_ranges), 447 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
476 .config = 0x8e,
477 }, 448 },
478}; 449};
479 450
@@ -485,16 +456,15 @@ static struct tuner_params tuner_temic_4009_fn5_multi_pal_fm_params[] = {
485 .type = TUNER_PARAM_TYPE_PAL, 456 .type = TUNER_PARAM_TYPE_PAL,
486 .ranges = tuner_temic_4009f_5_pal_ranges, 457 .ranges = tuner_temic_4009f_5_pal_ranges,
487 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), 458 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
488 .config = 0x8e,
489 }, 459 },
490}; 460};
491 461
492/* ------------ TUNER_SHARP_2U5JF5540_NTSC - SHARP NTSC ------------ */ 462/* ------------ TUNER_SHARP_2U5JF5540_NTSC - SHARP NTSC ------------ */
493 463
494static struct tuner_range tuner_sharp_2u5jf5540_ntsc_ranges[] = { 464static struct tuner_range tuner_sharp_2u5jf5540_ntsc_ranges[] = {
495 { 16 * 137.25 /*MHz*/, 0x01, }, 465 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
496 { 16 * 317.25 /*MHz*/, 0x02, }, 466 { 16 * 317.25 /*MHz*/, 0x8e, 0x02, },
497 { 16 * 999.99 , 0x08, }, 467 { 16 * 999.99 , 0x8e, 0x08, },
498}; 468};
499 469
500static struct tuner_params tuner_sharp_2u5jf5540_params[] = { 470static struct tuner_params tuner_sharp_2u5jf5540_params[] = {
@@ -502,16 +472,15 @@ static struct tuner_params tuner_sharp_2u5jf5540_params[] = {
502 .type = TUNER_PARAM_TYPE_NTSC, 472 .type = TUNER_PARAM_TYPE_NTSC,
503 .ranges = tuner_sharp_2u5jf5540_ntsc_ranges, 473 .ranges = tuner_sharp_2u5jf5540_ntsc_ranges,
504 .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_ntsc_ranges), 474 .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_ntsc_ranges),
505 .config = 0x8e,
506 }, 475 },
507}; 476};
508 477
509/* ------------ TUNER_Samsung_PAL_TCPM9091PD27 - Samsung PAL ------------ */ 478/* ------------ TUNER_Samsung_PAL_TCPM9091PD27 - Samsung PAL ------------ */
510 479
511static struct tuner_range tuner_samsung_pal_tcpm9091pd27_ranges[] = { 480static struct tuner_range tuner_samsung_pal_tcpm9091pd27_ranges[] = {
512 { 16 * 169 /*MHz*/, 0xa0, }, 481 { 16 * 169 /*MHz*/, 0x8e, 0xa0, },
513 { 16 * 464 /*MHz*/, 0x90, }, 482 { 16 * 464 /*MHz*/, 0x8e, 0x90, },
514 { 16 * 999.99 , 0x30, }, 483 { 16 * 999.99 , 0x8e, 0x30, },
515}; 484};
516 485
517static struct tuner_params tuner_samsung_pal_tcpm9091pd27_params[] = { 486static struct tuner_params tuner_samsung_pal_tcpm9091pd27_params[] = {
@@ -519,7 +488,6 @@ static struct tuner_params tuner_samsung_pal_tcpm9091pd27_params[] = {
519 .type = TUNER_PARAM_TYPE_PAL, 488 .type = TUNER_PARAM_TYPE_PAL,
520 .ranges = tuner_samsung_pal_tcpm9091pd27_ranges, 489 .ranges = tuner_samsung_pal_tcpm9091pd27_ranges,
521 .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_ranges), 490 .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_ranges),
522 .config = 0x8e,
523 }, 491 },
524}; 492};
525 493
@@ -530,16 +498,15 @@ static struct tuner_params tuner_temic_4106fh5_params[] = {
530 .type = TUNER_PARAM_TYPE_PAL, 498 .type = TUNER_PARAM_TYPE_PAL,
531 .ranges = tuner_temic_4009f_5_pal_ranges, 499 .ranges = tuner_temic_4009f_5_pal_ranges,
532 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), 500 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
533 .config = 0x8e,
534 }, 501 },
535}; 502};
536 503
537/* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */ 504/* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */
538 505
539static struct tuner_range tuner_temic_4012fy5_pal_ranges[] = { 506static struct tuner_range tuner_temic_4012fy5_pal_ranges[] = {
540 { 16 * 140.25 /*MHz*/, 0x02, }, 507 { 16 * 140.25 /*MHz*/, 0x8e, 0x02, },
541 { 16 * 463.25 /*MHz*/, 0x04, }, 508 { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
542 { 16 * 999.99 , 0x01, }, 509 { 16 * 999.99 , 0x8e, 0x01, },
543}; 510};
544 511
545static struct tuner_params tuner_temic_4012fy5_params[] = { 512static struct tuner_params tuner_temic_4012fy5_params[] = {
@@ -547,16 +514,15 @@ static struct tuner_params tuner_temic_4012fy5_params[] = {
547 .type = TUNER_PARAM_TYPE_PAL, 514 .type = TUNER_PARAM_TYPE_PAL,
548 .ranges = tuner_temic_4012fy5_pal_ranges, 515 .ranges = tuner_temic_4012fy5_pal_ranges,
549 .count = ARRAY_SIZE(tuner_temic_4012fy5_pal_ranges), 516 .count = ARRAY_SIZE(tuner_temic_4012fy5_pal_ranges),
550 .config = 0x8e,
551 }, 517 },
552}; 518};
553 519
554/* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */ 520/* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */
555 521
556static struct tuner_range tuner_temic_4136_fy5_ntsc_ranges[] = { 522static struct tuner_range tuner_temic_4136_fy5_ntsc_ranges[] = {
557 { 16 * 158.00 /*MHz*/, 0xa0, }, 523 { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, },
558 { 16 * 453.00 /*MHz*/, 0x90, }, 524 { 16 * 453.00 /*MHz*/, 0x8e, 0x90, },
559 { 16 * 999.99 , 0x30, }, 525 { 16 * 999.99 , 0x8e, 0x30, },
560}; 526};
561 527
562static struct tuner_params tuner_temic_4136_fy5_params[] = { 528static struct tuner_params tuner_temic_4136_fy5_params[] = {
@@ -564,16 +530,15 @@ static struct tuner_params tuner_temic_4136_fy5_params[] = {
564 .type = TUNER_PARAM_TYPE_NTSC, 530 .type = TUNER_PARAM_TYPE_NTSC,
565 .ranges = tuner_temic_4136_fy5_ntsc_ranges, 531 .ranges = tuner_temic_4136_fy5_ntsc_ranges,
566 .count = ARRAY_SIZE(tuner_temic_4136_fy5_ntsc_ranges), 532 .count = ARRAY_SIZE(tuner_temic_4136_fy5_ntsc_ranges),
567 .config = 0x8e,
568 }, 533 },
569}; 534};
570 535
571/* ------------ TUNER_LG_PAL_NEW_TAPC - LGINNOTEK PAL ------------ */ 536/* ------------ TUNER_LG_PAL_NEW_TAPC - LGINNOTEK PAL ------------ */
572 537
573static struct tuner_range tuner_lg_new_tapc_ranges[] = { 538static struct tuner_range tuner_lg_new_tapc_ranges[] = {
574 { 16 * 170.00 /*MHz*/, 0x01, }, 539 { 16 * 170.00 /*MHz*/, 0x8e, 0x01, },
575 { 16 * 450.00 /*MHz*/, 0x02, }, 540 { 16 * 450.00 /*MHz*/, 0x8e, 0x02, },
576 { 16 * 999.99 , 0x08, }, 541 { 16 * 999.99 , 0x8e, 0x08, },
577}; 542};
578 543
579static struct tuner_params tuner_lg_pal_new_tapc_params[] = { 544static struct tuner_params tuner_lg_pal_new_tapc_params[] = {
@@ -581,16 +546,15 @@ static struct tuner_params tuner_lg_pal_new_tapc_params[] = {
581 .type = TUNER_PARAM_TYPE_PAL, 546 .type = TUNER_PARAM_TYPE_PAL,
582 .ranges = tuner_lg_new_tapc_ranges, 547 .ranges = tuner_lg_new_tapc_ranges,
583 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges), 548 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
584 .config = 0x8e,
585 }, 549 },
586}; 550};
587 551
588/* ------------ TUNER_PHILIPS_FM1216ME_MK3 - Philips PAL ------------ */ 552/* ------------ TUNER_PHILIPS_FM1216ME_MK3 - Philips PAL ------------ */
589 553
590static struct tuner_range tuner_fm1216me_mk3_pal_ranges[] = { 554static struct tuner_range tuner_fm1216me_mk3_pal_ranges[] = {
591 { 16 * 158.00 /*MHz*/, 0x01, }, 555 { 16 * 158.00 /*MHz*/, 0x8e, 0x01, },
592 { 16 * 442.00 /*MHz*/, 0x02, }, 556 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
593 { 16 * 999.99 , 0x04, }, 557 { 16 * 999.99 , 0x8e, 0x04, },
594}; 558};
595 559
596static struct tuner_params tuner_fm1216me_mk3_params[] = { 560static struct tuner_params tuner_fm1216me_mk3_params[] = {
@@ -598,7 +562,6 @@ static struct tuner_params tuner_fm1216me_mk3_params[] = {
598 .type = TUNER_PARAM_TYPE_PAL, 562 .type = TUNER_PARAM_TYPE_PAL,
599 .ranges = tuner_fm1216me_mk3_pal_ranges, 563 .ranges = tuner_fm1216me_mk3_pal_ranges,
600 .count = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges), 564 .count = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges),
601 .config = 0x8e,
602 .cb_first_if_lower_freq = 1, 565 .cb_first_if_lower_freq = 1,
603 }, 566 },
604}; 567};
@@ -610,7 +573,6 @@ static struct tuner_params tuner_lg_ntsc_new_tapc_params[] = {
610 .type = TUNER_PARAM_TYPE_NTSC, 573 .type = TUNER_PARAM_TYPE_NTSC,
611 .ranges = tuner_lg_new_tapc_ranges, 574 .ranges = tuner_lg_new_tapc_ranges,
612 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges), 575 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
613 .config = 0x8e,
614 }, 576 },
615}; 577};
616 578
@@ -622,16 +584,15 @@ static struct tuner_params tuner_hitachi_ntsc_params[] = {
622 .type = TUNER_PARAM_TYPE_NTSC, 584 .type = TUNER_PARAM_TYPE_NTSC,
623 .ranges = tuner_lg_new_tapc_ranges, 585 .ranges = tuner_lg_new_tapc_ranges,
624 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges), 586 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
625 .config = 0x8e,
626 }, 587 },
627}; 588};
628 589
629/* ------------ TUNER_PHILIPS_PAL_MK - Philips PAL ------------ */ 590/* ------------ TUNER_PHILIPS_PAL_MK - Philips PAL ------------ */
630 591
631static struct tuner_range tuner_philips_pal_mk_pal_ranges[] = { 592static struct tuner_range tuner_philips_pal_mk_pal_ranges[] = {
632 { 16 * 140.25 /*MHz*/, 0x01, }, 593 { 16 * 140.25 /*MHz*/, 0x8e, 0x01, },
633 { 16 * 463.25 /*MHz*/, 0xc2, }, 594 { 16 * 463.25 /*MHz*/, 0x8e, 0xc2, },
634 { 16 * 999.99 , 0xcf, }, 595 { 16 * 999.99 , 0x8e, 0xcf, },
635}; 596};
636 597
637static struct tuner_params tuner_philips_pal_mk_params[] = { 598static struct tuner_params tuner_philips_pal_mk_params[] = {
@@ -639,16 +600,15 @@ static struct tuner_params tuner_philips_pal_mk_params[] = {
639 .type = TUNER_PARAM_TYPE_PAL, 600 .type = TUNER_PARAM_TYPE_PAL,
640 .ranges = tuner_philips_pal_mk_pal_ranges, 601 .ranges = tuner_philips_pal_mk_pal_ranges,
641 .count = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges), 602 .count = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges),
642 .config = 0x8e,
643 }, 603 },
644}; 604};
645 605
646/* ------------ TUNER_PHILIPS_ATSC - Philips ATSC ------------ */ 606/* ------------ TUNER_PHILIPS_ATSC - Philips ATSC ------------ */
647 607
648static struct tuner_range tuner_philips_atsc_ranges[] = { 608static struct tuner_range tuner_philips_atsc_ranges[] = {
649 { 16 * 157.25 /*MHz*/, 0xa0, }, 609 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
650 { 16 * 454.00 /*MHz*/, 0x90, }, 610 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
651 { 16 * 999.99 , 0x30, }, 611 { 16 * 999.99 , 0x8e, 0x30, },
652}; 612};
653 613
654static struct tuner_params tuner_philips_atsc_params[] = { 614static struct tuner_params tuner_philips_atsc_params[] = {
@@ -656,16 +616,15 @@ static struct tuner_params tuner_philips_atsc_params[] = {
656 .type = TUNER_PARAM_TYPE_NTSC, 616 .type = TUNER_PARAM_TYPE_NTSC,
657 .ranges = tuner_philips_atsc_ranges, 617 .ranges = tuner_philips_atsc_ranges,
658 .count = ARRAY_SIZE(tuner_philips_atsc_ranges), 618 .count = ARRAY_SIZE(tuner_philips_atsc_ranges),
659 .config = 0x8e,
660 }, 619 },
661}; 620};
662 621
663/* ------------ TUNER_PHILIPS_FM1236_MK3 - Philips NTSC ------------ */ 622/* ------------ TUNER_PHILIPS_FM1236_MK3 - Philips NTSC ------------ */
664 623
665static struct tuner_range tuner_fm1236_mk3_ntsc_ranges[] = { 624static struct tuner_range tuner_fm1236_mk3_ntsc_ranges[] = {
666 { 16 * 160.00 /*MHz*/, 0x01, }, 625 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
667 { 16 * 442.00 /*MHz*/, 0x02, }, 626 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
668 { 16 * 999.99 , 0x04, }, 627 { 16 * 999.99 , 0x8e, 0x04, },
669}; 628};
670 629
671static struct tuner_params tuner_fm1236_mk3_params[] = { 630static struct tuner_params tuner_fm1236_mk3_params[] = {
@@ -673,7 +632,6 @@ static struct tuner_params tuner_fm1236_mk3_params[] = {
673 .type = TUNER_PARAM_TYPE_NTSC, 632 .type = TUNER_PARAM_TYPE_NTSC,
674 .ranges = tuner_fm1236_mk3_ntsc_ranges, 633 .ranges = tuner_fm1236_mk3_ntsc_ranges,
675 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), 634 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
676 .config = 0x8e,
677 .cb_first_if_lower_freq = 1, 635 .cb_first_if_lower_freq = 1,
678 }, 636 },
679}; 637};
@@ -681,9 +639,9 @@ static struct tuner_params tuner_fm1236_mk3_params[] = {
681/* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */ 639/* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */
682 640
683static struct tuner_range tuner_philips_4in1_ntsc_ranges[] = { 641static struct tuner_range tuner_philips_4in1_ntsc_ranges[] = {
684 { 16 * 160.00 /*MHz*/, 0x01, }, 642 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
685 { 16 * 442.00 /*MHz*/, 0x02, }, 643 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
686 { 16 * 999.99 , 0x04, }, 644 { 16 * 999.99 , 0x8e, 0x04, },
687}; 645};
688 646
689static struct tuner_params tuner_philips_4in1_params[] = { 647static struct tuner_params tuner_philips_4in1_params[] = {
@@ -691,7 +649,6 @@ static struct tuner_params tuner_philips_4in1_params[] = {
691 .type = TUNER_PARAM_TYPE_NTSC, 649 .type = TUNER_PARAM_TYPE_NTSC,
692 .ranges = tuner_philips_4in1_ntsc_ranges, 650 .ranges = tuner_philips_4in1_ntsc_ranges,
693 .count = ARRAY_SIZE(tuner_philips_4in1_ntsc_ranges), 651 .count = ARRAY_SIZE(tuner_philips_4in1_ntsc_ranges),
694 .config = 0x8e,
695 }, 652 },
696}; 653};
697 654
@@ -702,16 +659,15 @@ static struct tuner_params tuner_microtune_4049_fm5_params[] = {
702 .type = TUNER_PARAM_TYPE_PAL, 659 .type = TUNER_PARAM_TYPE_PAL,
703 .ranges = tuner_temic_4009f_5_pal_ranges, 660 .ranges = tuner_temic_4009f_5_pal_ranges,
704 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), 661 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
705 .config = 0x8e,
706 }, 662 },
707}; 663};
708 664
709/* ------------ TUNER_PANASONIC_VP27 - Panasonic NTSC ------------ */ 665/* ------------ TUNER_PANASONIC_VP27 - Panasonic NTSC ------------ */
710 666
711static struct tuner_range tuner_panasonic_vp27_ntsc_ranges[] = { 667static struct tuner_range tuner_panasonic_vp27_ntsc_ranges[] = {
712 { 16 * 160.00 /*MHz*/, 0x01, }, 668 { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
713 { 16 * 454.00 /*MHz*/, 0x02, }, 669 { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
714 { 16 * 999.99 , 0x08, }, 670 { 16 * 999.99 , 0xce, 0x08, },
715}; 671};
716 672
717static struct tuner_params tuner_panasonic_vp27_params[] = { 673static struct tuner_params tuner_panasonic_vp27_params[] = {
@@ -719,16 +675,15 @@ static struct tuner_params tuner_panasonic_vp27_params[] = {
719 .type = TUNER_PARAM_TYPE_NTSC, 675 .type = TUNER_PARAM_TYPE_NTSC,
720 .ranges = tuner_panasonic_vp27_ntsc_ranges, 676 .ranges = tuner_panasonic_vp27_ntsc_ranges,
721 .count = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges), 677 .count = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges),
722 .config = 0xce,
723 }, 678 },
724}; 679};
725 680
726/* ------------ TUNER_LG_NTSC_TAPE - LGINNOTEK NTSC ------------ */ 681/* ------------ TUNER_LG_NTSC_TAPE - LGINNOTEK NTSC ------------ */
727 682
728static struct tuner_range tuner_lg_ntsc_tape_ranges[] = { 683static struct tuner_range tuner_lg_ntsc_tape_ranges[] = {
729 { 16 * 160.00 /*MHz*/, 0x01, }, 684 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
730 { 16 * 442.00 /*MHz*/, 0x02, }, 685 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
731 { 16 * 999.99 , 0x04, }, 686 { 16 * 999.99 , 0x8e, 0x04, },
732}; 687};
733 688
734static struct tuner_params tuner_lg_ntsc_tape_params[] = { 689static struct tuner_params tuner_lg_ntsc_tape_params[] = {
@@ -736,16 +691,15 @@ static struct tuner_params tuner_lg_ntsc_tape_params[] = {
736 .type = TUNER_PARAM_TYPE_NTSC, 691 .type = TUNER_PARAM_TYPE_NTSC,
737 .ranges = tuner_lg_ntsc_tape_ranges, 692 .ranges = tuner_lg_ntsc_tape_ranges,
738 .count = ARRAY_SIZE(tuner_lg_ntsc_tape_ranges), 693 .count = ARRAY_SIZE(tuner_lg_ntsc_tape_ranges),
739 .config = 0x8e,
740 }, 694 },
741}; 695};
742 696
743/* ------------ TUNER_TNF_8831BGFF - Philips PAL ------------ */ 697/* ------------ TUNER_TNF_8831BGFF - Philips PAL ------------ */
744 698
745static struct tuner_range tuner_tnf_8831bgff_pal_ranges[] = { 699static struct tuner_range tuner_tnf_8831bgff_pal_ranges[] = {
746 { 16 * 161.25 /*MHz*/, 0xa0, }, 700 { 16 * 161.25 /*MHz*/, 0x8e, 0xa0, },
747 { 16 * 463.25 /*MHz*/, 0x90, }, 701 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
748 { 16 * 999.99 , 0x30, }, 702 { 16 * 999.99 , 0x8e, 0x30, },
749}; 703};
750 704
751static struct tuner_params tuner_tnf_8831bgff_params[] = { 705static struct tuner_params tuner_tnf_8831bgff_params[] = {
@@ -753,16 +707,15 @@ static struct tuner_params tuner_tnf_8831bgff_params[] = {
753 .type = TUNER_PARAM_TYPE_PAL, 707 .type = TUNER_PARAM_TYPE_PAL,
754 .ranges = tuner_tnf_8831bgff_pal_ranges, 708 .ranges = tuner_tnf_8831bgff_pal_ranges,
755 .count = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges), 709 .count = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges),
756 .config = 0x8e,
757 }, 710 },
758}; 711};
759 712
760/* ------------ TUNER_MICROTUNE_4042FI5 - Microtune NTSC ------------ */ 713/* ------------ TUNER_MICROTUNE_4042FI5 - Microtune NTSC ------------ */
761 714
762static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = { 715static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = {
763 { 16 * 162.00 /*MHz*/, 0xa2, }, 716 { 16 * 162.00 /*MHz*/, 0x8e, 0xa2, },
764 { 16 * 457.00 /*MHz*/, 0x94, }, 717 { 16 * 457.00 /*MHz*/, 0x8e, 0x94, },
765 { 16 * 999.99 , 0x31, }, 718 { 16 * 999.99 , 0x8e, 0x31, },
766}; 719};
767 720
768static struct tuner_params tuner_microtune_4042fi5_params[] = { 721static struct tuner_params tuner_microtune_4042fi5_params[] = {
@@ -770,7 +723,6 @@ static struct tuner_params tuner_microtune_4042fi5_params[] = {
770 .type = TUNER_PARAM_TYPE_NTSC, 723 .type = TUNER_PARAM_TYPE_NTSC,
771 .ranges = tuner_microtune_4042fi5_ntsc_ranges, 724 .ranges = tuner_microtune_4042fi5_ntsc_ranges,
772 .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges), 725 .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges),
773 .config = 0x8e,
774 }, 726 },
775}; 727};
776 728
@@ -778,9 +730,9 @@ static struct tuner_params tuner_microtune_4042fi5_params[] = {
778/* ------------ TUNER_TCL_2002N - TCL NTSC ------------ */ 730/* ------------ TUNER_TCL_2002N - TCL NTSC ------------ */
779 731
780static struct tuner_range tuner_tcl_2002n_ntsc_ranges[] = { 732static struct tuner_range tuner_tcl_2002n_ntsc_ranges[] = {
781 { 16 * 172.00 /*MHz*/, 0x01, }, 733 { 16 * 172.00 /*MHz*/, 0x8e, 0x01, },
782 { 16 * 448.00 /*MHz*/, 0x02, }, 734 { 16 * 448.00 /*MHz*/, 0x8e, 0x02, },
783 { 16 * 999.99 , 0x08, }, 735 { 16 * 999.99 , 0x8e, 0x08, },
784}; 736};
785 737
786static struct tuner_params tuner_tcl_2002n_params[] = { 738static struct tuner_params tuner_tcl_2002n_params[] = {
@@ -788,7 +740,6 @@ static struct tuner_params tuner_tcl_2002n_params[] = {
788 .type = TUNER_PARAM_TYPE_NTSC, 740 .type = TUNER_PARAM_TYPE_NTSC,
789 .ranges = tuner_tcl_2002n_ntsc_ranges, 741 .ranges = tuner_tcl_2002n_ntsc_ranges,
790 .count = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges), 742 .count = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges),
791 .config = 0x8e,
792 .cb_first_if_lower_freq = 1, 743 .cb_first_if_lower_freq = 1,
793 }, 744 },
794}; 745};
@@ -796,9 +747,9 @@ static struct tuner_params tuner_tcl_2002n_params[] = {
796/* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */ 747/* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */
797 748
798static struct tuner_range tuner_philips_fm1256_ih3_pal_ranges[] = { 749static struct tuner_range tuner_philips_fm1256_ih3_pal_ranges[] = {
799 { 16 * 160.00 /*MHz*/, 0x01, }, 750 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
800 { 16 * 442.00 /*MHz*/, 0x02, }, 751 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
801 { 16 * 999.99 , 0x04, }, 752 { 16 * 999.99 , 0x8e, 0x04, },
802}; 753};
803 754
804static struct tuner_params tuner_philips_fm1256_ih3_params[] = { 755static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
@@ -806,16 +757,15 @@ static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
806 .type = TUNER_PARAM_TYPE_PAL, 757 .type = TUNER_PARAM_TYPE_PAL,
807 .ranges = tuner_philips_fm1256_ih3_pal_ranges, 758 .ranges = tuner_philips_fm1256_ih3_pal_ranges,
808 .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_pal_ranges), 759 .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_pal_ranges),
809 .config = 0x8e,
810 }, 760 },
811}; 761};
812 762
813/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */ 763/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
814 764
815static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = { 765static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
816 { 16 * 157.25 /*MHz*/, 0x39, }, 766 { 16 * 157.25 /*MHz*/, 0x8e, 0x39, },
817 { 16 * 454.00 /*MHz*/, 0x3a, }, 767 { 16 * 454.00 /*MHz*/, 0x8e, 0x3a, },
818 { 16 * 999.99 , 0x3c, }, 768 { 16 * 999.99 , 0x8e, 0x3c, },
819}; 769};
820 770
821static struct tuner_params tuner_thomson_dtt7610_params[] = { 771static struct tuner_params tuner_thomson_dtt7610_params[] = {
@@ -823,16 +773,15 @@ static struct tuner_params tuner_thomson_dtt7610_params[] = {
823 .type = TUNER_PARAM_TYPE_NTSC, 773 .type = TUNER_PARAM_TYPE_NTSC,
824 .ranges = tuner_thomson_dtt7610_ntsc_ranges, 774 .ranges = tuner_thomson_dtt7610_ntsc_ranges,
825 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges), 775 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
826 .config = 0x8e,
827 }, 776 },
828}; 777};
829 778
830/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */ 779/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
831 780
832static struct tuner_range tuner_philips_fq1286_ntsc_ranges[] = { 781static struct tuner_range tuner_philips_fq1286_ntsc_ranges[] = {
833 { 16 * 160.00 /*MHz*/, 0x41, }, 782 { 16 * 160.00 /*MHz*/, 0x8e, 0x41, },
834 { 16 * 454.00 /*MHz*/, 0x42, }, 783 { 16 * 454.00 /*MHz*/, 0x8e, 0x42, },
835 { 16 * 999.99 , 0x04, }, 784 { 16 * 999.99 , 0x8e, 0x04, },
836}; 785};
837 786
838static struct tuner_params tuner_philips_fq1286_params[] = { 787static struct tuner_params tuner_philips_fq1286_params[] = {
@@ -840,16 +789,15 @@ static struct tuner_params tuner_philips_fq1286_params[] = {
840 .type = TUNER_PARAM_TYPE_NTSC, 789 .type = TUNER_PARAM_TYPE_NTSC,
841 .ranges = tuner_philips_fq1286_ntsc_ranges, 790 .ranges = tuner_philips_fq1286_ntsc_ranges,
842 .count = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges), 791 .count = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges),
843 .config = 0x8e,
844 }, 792 },
845}; 793};
846 794
847/* ------------ TUNER_TCL_2002MB - TCL PAL ------------ */ 795/* ------------ TUNER_TCL_2002MB - TCL PAL ------------ */
848 796
849static struct tuner_range tuner_tcl_2002mb_pal_ranges[] = { 797static struct tuner_range tuner_tcl_2002mb_pal_ranges[] = {
850 { 16 * 170.00 /*MHz*/, 0x01, }, 798 { 16 * 170.00 /*MHz*/, 0xce, 0x01, },
851 { 16 * 450.00 /*MHz*/, 0x02, }, 799 { 16 * 450.00 /*MHz*/, 0xce, 0x02, },
852 { 16 * 999.99 , 0x08, }, 800 { 16 * 999.99 , 0xce, 0x08, },
853}; 801};
854 802
855static struct tuner_params tuner_tcl_2002mb_params[] = { 803static struct tuner_params tuner_tcl_2002mb_params[] = {
@@ -857,44 +805,47 @@ static struct tuner_params tuner_tcl_2002mb_params[] = {
857 .type = TUNER_PARAM_TYPE_PAL, 805 .type = TUNER_PARAM_TYPE_PAL,
858 .ranges = tuner_tcl_2002mb_pal_ranges, 806 .ranges = tuner_tcl_2002mb_pal_ranges,
859 .count = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges), 807 .count = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges),
860 .config = 0xce,
861 }, 808 },
862}; 809};
863 810
864/* ------------ TUNER_PHILIPS_FQ1216AME_MK4 - Philips PAL ------------ */ 811/* ------------ TUNER_PHILIPS_FQ1216AME_MK4 - Philips PAL ------------ */
865 812
866static struct tuner_range tuner_philips_fq12_6a___mk4_ranges[] = { 813static struct tuner_range tuner_philips_fq12_6a___mk4_pal_ranges[] = {
867 { 16 * 160.00 /*MHz*/, 0x01, }, 814 { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
868 { 16 * 442.00 /*MHz*/, 0x02, }, 815 { 16 * 442.00 /*MHz*/, 0xce, 0x02, },
869 { 16 * 999.99 , 0x04, }, 816 { 16 * 999.99 , 0xce, 0x04, },
870}; 817};
871 818
872static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = { 819static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = {
873 { 820 {
874 .type = TUNER_PARAM_TYPE_PAL, 821 .type = TUNER_PARAM_TYPE_PAL,
875 .ranges = tuner_philips_fq12_6a___mk4_ranges, 822 .ranges = tuner_philips_fq12_6a___mk4_pal_ranges,
876 .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_ranges), 823 .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_pal_ranges),
877 .config = 0xce,
878 }, 824 },
879}; 825};
880 826
881/* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */ 827/* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */
882 828
829static struct tuner_range tuner_philips_fq12_6a___mk4_ntsc_ranges[] = {
830 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
831 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
832 { 16 * 999.99 , 0x8e, 0x04, },
833};
834
883static struct tuner_params tuner_philips_fq1236a_mk4_params[] = { 835static struct tuner_params tuner_philips_fq1236a_mk4_params[] = {
884 { 836 {
885 .type = TUNER_PARAM_TYPE_NTSC, 837 .type = TUNER_PARAM_TYPE_NTSC,
886 .ranges = tuner_philips_fq12_6a___mk4_ranges, 838 .ranges = tuner_philips_fq12_6a___mk4_ntsc_ranges,
887 .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_ranges), 839 .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_ntsc_ranges),
888 .config = 0x8e,
889 }, 840 },
890}; 841};
891 842
892/* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */ 843/* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */
893 844
894static struct tuner_range tuner_ymec_tvf_8531mf_ntsc_ranges[] = { 845static struct tuner_range tuner_ymec_tvf_8531mf_ntsc_ranges[] = {
895 { 16 * 160.00 /*MHz*/, 0xa0, }, 846 { 16 * 160.00 /*MHz*/, 0x8e, 0xa0, },
896 { 16 * 454.00 /*MHz*/, 0x90, }, 847 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
897 { 16 * 999.99 , 0x30, }, 848 { 16 * 999.99 , 0x8e, 0x30, },
898}; 849};
899 850
900static struct tuner_params tuner_ymec_tvf_8531mf_params[] = { 851static struct tuner_params tuner_ymec_tvf_8531mf_params[] = {
@@ -902,16 +853,15 @@ static struct tuner_params tuner_ymec_tvf_8531mf_params[] = {
902 .type = TUNER_PARAM_TYPE_NTSC, 853 .type = TUNER_PARAM_TYPE_NTSC,
903 .ranges = tuner_ymec_tvf_8531mf_ntsc_ranges, 854 .ranges = tuner_ymec_tvf_8531mf_ntsc_ranges,
904 .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_ntsc_ranges), 855 .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_ntsc_ranges),
905 .config = 0x8e,
906 }, 856 },
907}; 857};
908 858
909/* ------------ TUNER_YMEC_TVF_5533MF - Philips NTSC ------------ */ 859/* ------------ TUNER_YMEC_TVF_5533MF - Philips NTSC ------------ */
910 860
911static struct tuner_range tuner_ymec_tvf_5533mf_ntsc_ranges[] = { 861static struct tuner_range tuner_ymec_tvf_5533mf_ntsc_ranges[] = {
912 { 16 * 160.00 /*MHz*/, 0x01, }, 862 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
913 { 16 * 454.00 /*MHz*/, 0x02, }, 863 { 16 * 454.00 /*MHz*/, 0x8e, 0x02, },
914 { 16 * 999.99 , 0x04, }, 864 { 16 * 999.99 , 0x8e, 0x04, },
915}; 865};
916 866
917static struct tuner_params tuner_ymec_tvf_5533mf_params[] = { 867static struct tuner_params tuner_ymec_tvf_5533mf_params[] = {
@@ -919,7 +869,6 @@ static struct tuner_params tuner_ymec_tvf_5533mf_params[] = {
919 .type = TUNER_PARAM_TYPE_NTSC, 869 .type = TUNER_PARAM_TYPE_NTSC,
920 .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges, 870 .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges,
921 .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges), 871 .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges),
922 .config = 0x8e,
923 }, 872 },
924}; 873};
925 874
@@ -928,9 +877,9 @@ static struct tuner_params tuner_ymec_tvf_5533mf_params[] = {
928/* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */ 877/* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
929 878
930static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = { 879static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = {
931 { 16 * 145.25 /*MHz*/, 0x39, }, 880 { 16 * 145.25 /*MHz*/, 0x8e, 0x39, },
932 { 16 * 415.25 /*MHz*/, 0x3a, }, 881 { 16 * 415.25 /*MHz*/, 0x8e, 0x3a, },
933 { 16 * 999.99 , 0x3c, }, 882 { 16 * 999.99 , 0x8e, 0x3c, },
934}; 883};
935 884
936 885
@@ -939,16 +888,15 @@ static struct tuner_params tuner_thomson_dtt761x_params[] = {
939 .type = TUNER_PARAM_TYPE_NTSC, 888 .type = TUNER_PARAM_TYPE_NTSC,
940 .ranges = tuner_thomson_dtt761x_ntsc_ranges, 889 .ranges = tuner_thomson_dtt761x_ntsc_ranges,
941 .count = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges), 890 .count = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges),
942 .config = 0x8e,
943 }, 891 },
944}; 892};
945 893
946/* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */ 894/* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */
947 895
948static struct tuner_range tuner_tuner_tena_9533_di_pal_ranges[] = { 896static struct tuner_range tuner_tuner_tena_9533_di_pal_ranges[] = {
949 { 16 * 160.25 /*MHz*/, 0x01, }, 897 { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
950 { 16 * 464.25 /*MHz*/, 0x02, }, 898 { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
951 { 16 * 999.99 , 0x04, }, 899 { 16 * 999.99 , 0x8e, 0x04, },
952}; 900};
953 901
954static struct tuner_params tuner_tena_9533_di_params[] = { 902static struct tuner_params tuner_tena_9533_di_params[] = {
@@ -956,16 +904,15 @@ static struct tuner_params tuner_tena_9533_di_params[] = {
956 .type = TUNER_PARAM_TYPE_PAL, 904 .type = TUNER_PARAM_TYPE_PAL,
957 .ranges = tuner_tuner_tena_9533_di_pal_ranges, 905 .ranges = tuner_tuner_tena_9533_di_pal_ranges,
958 .count = ARRAY_SIZE(tuner_tuner_tena_9533_di_pal_ranges), 906 .count = ARRAY_SIZE(tuner_tuner_tena_9533_di_pal_ranges),
959 .config = 0x8e,
960 }, 907 },
961}; 908};
962 909
963/* ------------ TUNER_PHILIPS_FMD1216ME_MK3 - Philips PAL ------------ */ 910/* ------------ TUNER_PHILIPS_FMD1216ME_MK3 - Philips PAL ------------ */
964 911
965static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = { 912static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = {
966 { 16 * 160.00 /*MHz*/, 0x51, }, 913 { 16 * 160.00 /*MHz*/, 0x86, 0x51, },
967 { 16 * 442.00 /*MHz*/, 0x52, }, 914 { 16 * 442.00 /*MHz*/, 0x86, 0x52, },
968 { 16 * 999.99 , 0x54, }, 915 { 16 * 999.99 , 0x86, 0x54, },
969}; 916};
970 917
971 918
@@ -974,7 +921,6 @@ static struct tuner_params tuner_tuner_philips_fmd1216me_mk3_params[] = {
974 .type = TUNER_PARAM_TYPE_PAL, 921 .type = TUNER_PARAM_TYPE_PAL,
975 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges, 922 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges,
976 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges), 923 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
977 .config = 0x86,
978 }, 924 },
979}; 925};
980 926
@@ -982,9 +928,9 @@ static struct tuner_params tuner_tuner_philips_fmd1216me_mk3_params[] = {
982/* ------------ TUNER_LG_TDVS_H062F - INFINEON ATSC ------------ */ 928/* ------------ TUNER_LG_TDVS_H062F - INFINEON ATSC ------------ */
983 929
984static struct tuner_range tuner_tua6034_ntsc_ranges[] = { 930static struct tuner_range tuner_tua6034_ntsc_ranges[] = {
985 { 16 * 160.00 /*MHz*/, 0x01 }, 931 { 16 * 160.00 /*MHz*/, 0x8e, 0x01 },
986 { 16 * 455.00 /*MHz*/, 0x02 }, 932 { 16 * 455.00 /*MHz*/, 0x8e, 0x02 },
987 { 16 * 999.99 , 0x04 }, 933 { 16 * 999.99 , 0x8e, 0x04 },
988}; 934};
989 935
990 936
@@ -993,16 +939,15 @@ static struct tuner_params tuner_tua6034_params[] = {
993 .type = TUNER_PARAM_TYPE_NTSC, 939 .type = TUNER_PARAM_TYPE_NTSC,
994 .ranges = tuner_tua6034_ntsc_ranges, 940 .ranges = tuner_tua6034_ntsc_ranges,
995 .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges), 941 .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges),
996 .config = 0x8e,
997 }, 942 },
998}; 943};
999 944
1000/* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */ 945/* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */
1001 946
1002static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = { 947static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = {
1003 { 16 * 160.25 /*MHz*/, 0x01, }, 948 { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
1004 { 16 * 464.25 /*MHz*/, 0x02, }, 949 { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
1005 { 16 * 999.99 , 0x08, }, 950 { 16 * 999.99 , 0x8e, 0x08, },
1006}; 951};
1007 952
1008static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = { 953static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {
@@ -1010,16 +955,15 @@ static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {
1010 .type = TUNER_PARAM_TYPE_PAL, 955 .type = TUNER_PARAM_TYPE_PAL,
1011 .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges, 956 .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges,
1012 .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges), 957 .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges),
1013 .config = 0x8e,
1014 }, 958 },
1015}; 959};
1016 960
1017/* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */ 961/* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */
1018 962
1019static struct tuner_range tuner_lg_taln_mini_ntsc_ranges[] = { 963static struct tuner_range tuner_lg_taln_mini_ntsc_ranges[] = {
1020 { 16 * 137.25 /*MHz*/, 0x01, }, 964 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
1021 { 16 * 373.25 /*MHz*/, 0x02, }, 965 { 16 * 373.25 /*MHz*/, 0x8e, 0x02, },
1022 { 16 * 999.99 , 0x08, }, 966 { 16 * 999.99 , 0x8e, 0x08, },
1023}; 967};
1024 968
1025static struct tuner_params tuner_lg_taln_mini_params[] = { 969static struct tuner_params tuner_lg_taln_mini_params[] = {
@@ -1027,16 +971,15 @@ static struct tuner_params tuner_lg_taln_mini_params[] = {
1027 .type = TUNER_PARAM_TYPE_NTSC, 971 .type = TUNER_PARAM_TYPE_NTSC,
1028 .ranges = tuner_lg_taln_mini_ntsc_ranges, 972 .ranges = tuner_lg_taln_mini_ntsc_ranges,
1029 .count = ARRAY_SIZE(tuner_lg_taln_mini_ntsc_ranges), 973 .count = ARRAY_SIZE(tuner_lg_taln_mini_ntsc_ranges),
1030 .config = 0x8e,
1031 }, 974 },
1032}; 975};
1033 976
1034/* ------------ TUNER_PHILIPS_TD1316 - Philips PAL ------------ */ 977/* ------------ TUNER_PHILIPS_TD1316 - Philips PAL ------------ */
1035 978
1036static struct tuner_range tuner_philips_td1316_pal_ranges[] = { 979static struct tuner_range tuner_philips_td1316_pal_ranges[] = {
1037 { 16 * 160.00 /*MHz*/, 0xa1, }, 980 { 16 * 160.00 /*MHz*/, 0xc8, 0xa1, },
1038 { 16 * 442.00 /*MHz*/, 0xa2, }, 981 { 16 * 442.00 /*MHz*/, 0xc8, 0xa2, },
1039 { 16 * 999.99 , 0xa4, }, 982 { 16 * 999.99 , 0xc8, 0xa4, },
1040}; 983};
1041 984
1042static struct tuner_params tuner_philips_td1316_params[] = { 985static struct tuner_params tuner_philips_td1316_params[] = {
@@ -1044,16 +987,15 @@ static struct tuner_params tuner_philips_td1316_params[] = {
1044 .type = TUNER_PARAM_TYPE_PAL, 987 .type = TUNER_PARAM_TYPE_PAL,
1045 .ranges = tuner_philips_td1316_pal_ranges, 988 .ranges = tuner_philips_td1316_pal_ranges,
1046 .count = ARRAY_SIZE(tuner_philips_td1316_pal_ranges), 989 .count = ARRAY_SIZE(tuner_philips_td1316_pal_ranges),
1047 .config = 0xc8,
1048 }, 990 },
1049}; 991};
1050 992
1051/* ------------ TUNER_PHILIPS_TUV1236D - Philips ATSC ------------ */ 993/* ------------ TUNER_PHILIPS_TUV1236D - Philips ATSC ------------ */
1052 994
1053static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = { 995static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
1054 { 16 * 157.25 /*MHz*/, 0x01, }, 996 { 16 * 157.25 /*MHz*/, 0xce, 0x01, },
1055 { 16 * 454.00 /*MHz*/, 0x02, }, 997 { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
1056 { 16 * 999.99 , 0x04, }, 998 { 16 * 999.99 , 0xce, 0x04, },
1057}; 999};
1058 1000
1059 1001
@@ -1062,16 +1004,15 @@ static struct tuner_params tuner_tuner_tuv1236d_params[] = {
1062 .type = TUNER_PARAM_TYPE_NTSC, 1004 .type = TUNER_PARAM_TYPE_NTSC,
1063 .ranges = tuner_tuv1236d_ntsc_ranges, 1005 .ranges = tuner_tuv1236d_ntsc_ranges,
1064 .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges), 1006 .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
1065 .config = 0xce,
1066 }, 1007 },
1067}; 1008};
1068 1009
1069/* ------------ TUNER_TNF_5335MF - Philips NTSC ------------ */ 1010/* ------------ TUNER_TNF_5335MF - Philips NTSC ------------ */
1070 1011
1071static struct tuner_range tuner_tnf_5335mf_ntsc_ranges[] = { 1012static struct tuner_range tuner_tnf_5335mf_ntsc_ranges[] = {
1072 { 16 * 157.25 /*MHz*/, 0x01, }, 1013 { 16 * 157.25 /*MHz*/, 0x8e, 0x01, },
1073 { 16 * 454.00 /*MHz*/, 0x02, }, 1014 { 16 * 454.00 /*MHz*/, 0x8e, 0x02, },
1074 { 16 * 999.99 , 0x04, }, 1015 { 16 * 999.99 , 0x8e, 0x04, },
1075}; 1016};
1076 1017
1077static struct tuner_params tuner_tnf_5335mf_params[] = { 1018static struct tuner_params tuner_tnf_5335mf_params[] = {
@@ -1079,7 +1020,6 @@ static struct tuner_params tuner_tnf_5335mf_params[] = {
1079 .type = TUNER_PARAM_TYPE_NTSC, 1020 .type = TUNER_PARAM_TYPE_NTSC,
1080 .ranges = tuner_tnf_5335mf_ntsc_ranges, 1021 .ranges = tuner_tnf_5335mf_ntsc_ranges,
1081 .count = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges), 1022 .count = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges),
1082 .config = 0x8e,
1083 }, 1023 },
1084}; 1024};
1085 1025
@@ -1087,9 +1027,9 @@ static struct tuner_params tuner_tnf_5335mf_params[] = {
1087/* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */ 1027/* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */
1088 1028
1089static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = { 1029static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = {
1090 { 16 * 175.75 /*MHz*/, 0x01, }, 1030 { 16 * 175.75 /*MHz*/, 0xce, 0x01, },
1091 { 16 * 410.25 /*MHz*/, 0x02, }, 1031 { 16 * 410.25 /*MHz*/, 0xce, 0x02, },
1092 { 16 * 999.99 , 0x08, }, 1032 { 16 * 999.99 , 0xce, 0x08, },
1093}; 1033};
1094 1034
1095static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = { 1035static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = {
@@ -1097,7 +1037,6 @@ static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = {
1097 .type = TUNER_PARAM_TYPE_NTSC, 1037 .type = TUNER_PARAM_TYPE_NTSC,
1098 .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges, 1038 .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges,
1099 .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges), 1039 .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges),
1100 .config = 0xce,
1101 }, 1040 },
1102}; 1041};
1103 1042
diff --git a/include/media/tuner-types.h b/include/media/tuner-types.h
index 15821ab14a9e..53ac66e0114b 100644
--- a/include/media/tuner-types.h
+++ b/include/media/tuner-types.h
@@ -14,6 +14,7 @@ enum param_type {
14 14
15struct tuner_range { 15struct tuner_range {
16 unsigned short limit; 16 unsigned short limit;
17 unsigned char config;
17 unsigned char cb; 18 unsigned char cb;
18}; 19};
19 20
@@ -38,7 +39,6 @@ struct tuner_params {
38 * static unless the control byte was sent first. 39 * static unless the control byte was sent first.
39 */ 40 */
40 unsigned int cb_first_if_lower_freq:1; 41 unsigned int cb_first_if_lower_freq:1;
41 unsigned char config; /* to be moved into struct tuner_range for dvb-pll merge */
42 42
43 unsigned int count; 43 unsigned int count;
44 struct tuner_range *ranges; 44 struct tuner_range *ranges;