Commit | Line | Data |
---|---|---|
989eb154 MI |
1 | /* |
2 | * | |
989eb154 MI |
3 | * |
4 | * Copyright (C) 2007 Mike Isely <isely@pobox.com> | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License as published by | |
8 | * the Free Software Foundation; either version 2 of the License | |
9 | * | |
10 | * This program is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | * GNU General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU General Public License | |
16 | * along with this program; if not, write to the Free Software | |
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | * | |
19 | */ | |
20 | ||
21 | /* | |
22 | ||
23 | This source file should encompass ALL per-device type information for the | |
24 | driver. To define a new device, add elements to the pvr2_device_table and | |
25 | pvr2_device_desc structures. | |
26 | ||
27 | */ | |
28 | ||
29 | #include "pvrusb2-devattr.h" | |
30 | #include <linux/usb.h> | |
6a540254 | 31 | /* This is needed in order to pull in tuner type ids... */ |
9e2e3aeb | 32 | #include <linux/i2c.h> |
9e2e3aeb | 33 | #include <media/tuner.h> |
906a4957 MK |
34 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
35 | #include "pvrusb2-hdw-internal.h" | |
36 | #include "lgdt330x.h" | |
087886eb | 37 | #include "s5h1409.h" |
4aef8fdd | 38 | #include "s5h1411.h" |
95814bc2 | 39 | #include "tda10048.h" |
087886eb MK |
40 | #include "tda18271.h" |
41 | #include "tda8290.h" | |
906a4957 MK |
42 | #include "tuner-simple.h" |
43 | #endif | |
4542783c | 44 | |
989eb154 | 45 | |
d130fa8a MI |
46 | /*------------------------------------------------------------------------*/ |
47 | /* Hauppauge PVR-USB2 Model 29xxx */ | |
989eb154 | 48 | |
dd5f322f MI |
49 | static const struct pvr2_device_client_desc pvr2_cli_29xxx[] = { |
50 | { .module_id = PVR2_CLIENT_ID_SAA7115 }, | |
51 | { .module_id = PVR2_CLIENT_ID_MSP3400 }, | |
52 | { .module_id = PVR2_CLIENT_ID_TUNER }, | |
989eb154 MI |
53 | }; |
54 | ||
989eb154 MI |
55 | static const char *pvr2_fw1_names_29xxx[] = { |
56 | "v4l-pvrusb2-29xxx-01.fw", | |
57 | }; | |
58 | ||
d130fa8a | 59 | static const struct pvr2_device_desc pvr2_device_29xxx = { |
e7f677f3 | 60 | .description = "WinTV PVR USB2 Model Category 29xxx", |
989eb154 | 61 | .shortname = "29xxx", |
dd5f322f MI |
62 | .client_table.lst = pvr2_cli_29xxx, |
63 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_29xxx), | |
989eb154 MI |
64 | .fx2_firmware.lst = pvr2_fw1_names_29xxx, |
65 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx), | |
aaf7884d | 66 | .flag_has_hauppauge_rom = !0, |
1aaac60f | 67 | .flag_has_analogtuner = !0, |
d068c6ee | 68 | .flag_has_fmradio = !0, |
1aaac60f MI |
69 | .flag_has_composite = !0, |
70 | .flag_has_svideo = !0, | |
f5174af2 | 71 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
40381cb0 | 72 | .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE, |
d130fa8a MI |
73 | }; |
74 | ||
75 | ||
76 | ||
77 | /*------------------------------------------------------------------------*/ | |
78 | /* Hauppauge PVR-USB2 Model 24xxx */ | |
79 | ||
dd5f322f MI |
80 | static const struct pvr2_device_client_desc pvr2_cli_24xxx[] = { |
81 | { .module_id = PVR2_CLIENT_ID_CX25840 }, | |
82 | { .module_id = PVR2_CLIENT_ID_TUNER }, | |
83 | { .module_id = PVR2_CLIENT_ID_WM8775 }, | |
d130fa8a MI |
84 | }; |
85 | ||
86 | static const char *pvr2_fw1_names_24xxx[] = { | |
87 | "v4l-pvrusb2-24xxx-01.fw", | |
88 | }; | |
89 | ||
90 | static const struct pvr2_device_desc pvr2_device_24xxx = { | |
e7f677f3 | 91 | .description = "WinTV PVR USB2 Model Category 24xxx", |
989eb154 | 92 | .shortname = "24xxx", |
dd5f322f MI |
93 | .client_table.lst = pvr2_cli_24xxx, |
94 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_24xxx), | |
989eb154 MI |
95 | .fx2_firmware.lst = pvr2_fw1_names_24xxx, |
96 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_24xxx), | |
97 | .flag_has_cx25840 = !0, | |
98 | .flag_has_wm8775 = !0, | |
aaf7884d | 99 | .flag_has_hauppauge_rom = !0, |
1aaac60f | 100 | .flag_has_analogtuner = !0, |
d068c6ee | 101 | .flag_has_fmradio = !0, |
1aaac60f MI |
102 | .flag_has_composite = !0, |
103 | .flag_has_svideo = !0, | |
f5174af2 | 104 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
40381cb0 | 105 | .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE, |
31335b13 | 106 | .ir_scheme = PVR2_IR_SCHEME_24XXX, |
d130fa8a MI |
107 | }; |
108 | ||
109 | ||
110 | ||
111 | /*------------------------------------------------------------------------*/ | |
112 | /* GOTVIEW USB2.0 DVD2 */ | |
113 | ||
dd5f322f MI |
114 | static const struct pvr2_device_client_desc pvr2_cli_gotview_2[] = { |
115 | { .module_id = PVR2_CLIENT_ID_CX25840 }, | |
116 | { .module_id = PVR2_CLIENT_ID_TUNER }, | |
d130fa8a MI |
117 | }; |
118 | ||
119 | static const struct pvr2_device_desc pvr2_device_gotview_2 = { | |
9e2e3aeb MI |
120 | .description = "Gotview USB 2.0 DVD 2", |
121 | .shortname = "gv2", | |
dd5f322f MI |
122 | .client_table.lst = pvr2_cli_gotview_2, |
123 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2), | |
787f5abb | 124 | .flag_has_cx25840 = !0, |
9e2e3aeb | 125 | .default_tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
1aaac60f | 126 | .flag_has_analogtuner = !0, |
1df59f0b | 127 | .flag_has_fmradio = !0, |
1aaac60f MI |
128 | .flag_has_composite = !0, |
129 | .flag_has_svideo = !0, | |
9e2e3aeb | 130 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_GOTVIEW, |
d130fa8a MI |
131 | }; |
132 | ||
133 | ||
134 | ||
fd1da789 MI |
135 | /*------------------------------------------------------------------------*/ |
136 | /* GOTVIEW USB2.0 DVD Deluxe */ | |
137 | ||
138 | /* (same module list as gotview_2) */ | |
139 | ||
140 | static const struct pvr2_device_desc pvr2_device_gotview_2d = { | |
141 | .description = "Gotview USB 2.0 DVD Deluxe", | |
142 | .shortname = "gv2d", | |
dd5f322f MI |
143 | .client_table.lst = pvr2_cli_gotview_2, |
144 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2), | |
fd1da789 MI |
145 | .flag_has_cx25840 = !0, |
146 | .default_tuner_type = TUNER_PHILIPS_FM1216ME_MK3, | |
147 | .flag_has_analogtuner = !0, | |
148 | .flag_has_composite = !0, | |
149 | .flag_has_svideo = !0, | |
150 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_GOTVIEW, | |
151 | }; | |
152 | ||
153 | ||
154 | ||
d130fa8a MI |
155 | /*------------------------------------------------------------------------*/ |
156 | /* OnAir Creator */ | |
157 | ||
906a4957 MK |
158 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
159 | static struct lgdt330x_config pvr2_lgdt3303_config = { | |
160 | .demod_address = 0x0e, | |
161 | .demod_chip = LGDT3303, | |
162 | .clock_polarity_flip = 1, | |
163 | }; | |
164 | ||
165 | static int pvr2_lgdt3303_attach(struct pvr2_dvb_adapter *adap) | |
166 | { | |
167 | adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3303_config, | |
168 | &adap->channel.hdw->i2c_adap); | |
169 | if (adap->fe) | |
170 | return 0; | |
171 | ||
172 | return -EIO; | |
173 | } | |
174 | ||
175 | static int pvr2_lgh06xf_attach(struct pvr2_dvb_adapter *adap) | |
176 | { | |
177 | dvb_attach(simple_tuner_attach, adap->fe, | |
178 | &adap->channel.hdw->i2c_adap, 0x61, | |
179 | TUNER_LG_TDVS_H06XF); | |
180 | ||
181 | return 0; | |
182 | } | |
183 | ||
e9b59f6e | 184 | static struct pvr2_dvb_props pvr2_onair_creator_fe_props = { |
906a4957 MK |
185 | .frontend_attach = pvr2_lgdt3303_attach, |
186 | .tuner_attach = pvr2_lgh06xf_attach, | |
187 | }; | |
188 | #endif | |
189 | ||
dd5f322f MI |
190 | static const struct pvr2_device_client_desc pvr2_cli_onair_creator[] = { |
191 | { .module_id = PVR2_CLIENT_ID_SAA7115 }, | |
192 | { .module_id = PVR2_CLIENT_ID_CS53L32A }, | |
193 | { .module_id = PVR2_CLIENT_ID_TUNER }, | |
d130fa8a MI |
194 | }; |
195 | ||
196 | static const struct pvr2_device_desc pvr2_device_onair_creator = { | |
4542783c MI |
197 | .description = "OnAir Creator Hybrid USB tuner", |
198 | .shortname = "oac", | |
dd5f322f MI |
199 | .client_table.lst = pvr2_cli_onair_creator, |
200 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_creator), | |
4542783c | 201 | .default_tuner_type = TUNER_LG_TDVS_H06XF, |
1aaac60f MI |
202 | .flag_has_analogtuner = !0, |
203 | .flag_has_composite = !0, | |
204 | .flag_has_svideo = !0, | |
72998b71 | 205 | .flag_digital_requires_cx23416 = !0, |
4542783c | 206 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
e8f5bacf | 207 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR, |
f0910c74 | 208 | .default_std_mask = V4L2_STD_NTSC_M, |
906a4957 MK |
209 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
210 | .dvb_props = &pvr2_onair_creator_fe_props, | |
211 | #endif | |
d130fa8a | 212 | }; |
d130fa8a MI |
213 | |
214 | ||
215 | ||
d130fa8a MI |
216 | /*------------------------------------------------------------------------*/ |
217 | /* OnAir USB 2.0 */ | |
218 | ||
906a4957 MK |
219 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
220 | static struct lgdt330x_config pvr2_lgdt3302_config = { | |
221 | .demod_address = 0x0e, | |
222 | .demod_chip = LGDT3302, | |
223 | }; | |
224 | ||
225 | static int pvr2_lgdt3302_attach(struct pvr2_dvb_adapter *adap) | |
226 | { | |
227 | adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3302_config, | |
228 | &adap->channel.hdw->i2c_adap); | |
229 | if (adap->fe) | |
230 | return 0; | |
231 | ||
232 | return -EIO; | |
233 | } | |
234 | ||
235 | static int pvr2_fcv1236d_attach(struct pvr2_dvb_adapter *adap) | |
236 | { | |
237 | dvb_attach(simple_tuner_attach, adap->fe, | |
238 | &adap->channel.hdw->i2c_adap, 0x61, | |
239 | TUNER_PHILIPS_FCV1236D); | |
240 | ||
241 | return 0; | |
242 | } | |
243 | ||
e9b59f6e | 244 | static struct pvr2_dvb_props pvr2_onair_usb2_fe_props = { |
906a4957 MK |
245 | .frontend_attach = pvr2_lgdt3302_attach, |
246 | .tuner_attach = pvr2_fcv1236d_attach, | |
247 | }; | |
248 | #endif | |
249 | ||
dd5f322f MI |
250 | static const struct pvr2_device_client_desc pvr2_cli_onair_usb2[] = { |
251 | { .module_id = PVR2_CLIENT_ID_SAA7115 }, | |
252 | { .module_id = PVR2_CLIENT_ID_CS53L32A }, | |
253 | { .module_id = PVR2_CLIENT_ID_TUNER }, | |
d130fa8a MI |
254 | }; |
255 | ||
256 | static const struct pvr2_device_desc pvr2_device_onair_usb2 = { | |
4542783c MI |
257 | .description = "OnAir USB2 Hybrid USB tuner", |
258 | .shortname = "oa2", | |
dd5f322f MI |
259 | .client_table.lst = pvr2_cli_onair_usb2, |
260 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_usb2), | |
ab8b870e | 261 | .default_tuner_type = TUNER_PHILIPS_FCV1236D, |
1aaac60f MI |
262 | .flag_has_analogtuner = !0, |
263 | .flag_has_composite = !0, | |
264 | .flag_has_svideo = !0, | |
72998b71 | 265 | .flag_digital_requires_cx23416 = !0, |
4542783c | 266 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
e8f5bacf | 267 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR, |
f0910c74 | 268 | .default_std_mask = V4L2_STD_NTSC_M, |
906a4957 MK |
269 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
270 | .dvb_props = &pvr2_onair_usb2_fe_props, | |
271 | #endif | |
989eb154 | 272 | }; |
d130fa8a MI |
273 | |
274 | ||
989eb154 | 275 | |
92c9d075 MK |
276 | /*------------------------------------------------------------------------*/ |
277 | /* Hauppauge PVR-USB2 Model 73xxx */ | |
278 | ||
95814bc2 MK |
279 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
280 | static struct tda10048_config hauppauge_tda10048_config = { | |
281 | .demod_address = 0x10 >> 1, | |
282 | .output_mode = TDA10048_PARALLEL_OUTPUT, | |
283 | .fwbulkwritelen = TDA10048_BULKWRITE_50, | |
284 | .inversion = TDA10048_INVERSION_ON, | |
285 | }; | |
286 | ||
287 | static struct tda829x_config tda829x_no_probe = { | |
288 | .probe_tuner = TDA829X_DONT_PROBE, | |
289 | }; | |
290 | ||
291 | static struct tda18271_config hauppauge_tda18271_dvb_config = { | |
292 | .gate = TDA18271_GATE_ANALOG, | |
293 | }; | |
294 | ||
295 | static int pvr2_tda10048_attach(struct pvr2_dvb_adapter *adap) | |
296 | { | |
297 | adap->fe = dvb_attach(tda10048_attach, &hauppauge_tda10048_config, | |
298 | &adap->channel.hdw->i2c_adap); | |
299 | if (adap->fe) | |
300 | return 0; | |
301 | ||
302 | return -EIO; | |
303 | } | |
304 | ||
305 | static int pvr2_73xxx_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) | |
306 | { | |
307 | dvb_attach(tda829x_attach, adap->fe, | |
308 | &adap->channel.hdw->i2c_adap, 0x42, | |
309 | &tda829x_no_probe); | |
310 | dvb_attach(tda18271_attach, adap->fe, 0x60, | |
311 | &adap->channel.hdw->i2c_adap, | |
312 | &hauppauge_tda18271_dvb_config); | |
313 | ||
314 | return 0; | |
315 | } | |
316 | ||
e9b59f6e | 317 | static struct pvr2_dvb_props pvr2_73xxx_dvb_props = { |
95814bc2 MK |
318 | .frontend_attach = pvr2_tda10048_attach, |
319 | .tuner_attach = pvr2_73xxx_tda18271_8295_attach, | |
320 | }; | |
321 | #endif | |
322 | ||
dd5f322f MI |
323 | static const struct pvr2_device_client_desc pvr2_cli_73xxx[] = { |
324 | { .module_id = PVR2_CLIENT_ID_CX25840 }, | |
325 | { .module_id = PVR2_CLIENT_ID_TUNER, | |
326 | .i2c_address_list = "\x42"}, | |
92c9d075 MK |
327 | }; |
328 | ||
329 | static const char *pvr2_fw1_names_73xxx[] = { | |
330 | "v4l-pvrusb2-73xxx-01.fw", | |
331 | }; | |
332 | ||
333 | static const struct pvr2_device_desc pvr2_device_73xxx = { | |
353facd4 | 334 | .description = "WinTV HVR-1900 Model Category 73xxx", |
92c9d075 | 335 | .shortname = "73xxx", |
dd5f322f MI |
336 | .client_table.lst = pvr2_cli_73xxx, |
337 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx), | |
92c9d075 MK |
338 | .fx2_firmware.lst = pvr2_fw1_names_73xxx, |
339 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_73xxx), | |
340 | .flag_has_cx25840 = !0, | |
341 | .flag_has_hauppauge_rom = !0, | |
342 | .flag_has_analogtuner = !0, | |
343 | .flag_has_composite = !0, | |
344 | .flag_has_svideo = !0, | |
345 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, | |
346 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE, | |
347 | .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE, | |
31335b13 | 348 | .ir_scheme = PVR2_IR_SCHEME_ZILOG, |
95814bc2 MK |
349 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
350 | .dvb_props = &pvr2_73xxx_dvb_props, | |
351 | #endif | |
92c9d075 MK |
352 | }; |
353 | ||
354 | ||
355 | ||
11fcd470 MK |
356 | /*------------------------------------------------------------------------*/ |
357 | /* Hauppauge PVR-USB2 Model 75xxx */ | |
358 | ||
087886eb MK |
359 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
360 | static struct s5h1409_config pvr2_s5h1409_config = { | |
361 | .demod_address = 0x32 >> 1, | |
362 | .output_mode = S5H1409_PARALLEL_OUTPUT, | |
363 | .gpio = S5H1409_GPIO_OFF, | |
364 | .qam_if = 4000, | |
365 | .inversion = S5H1409_INVERSION_ON, | |
366 | .status_mode = S5H1409_DEMODLOCKING, | |
367 | }; | |
368 | ||
4aef8fdd MK |
369 | static struct s5h1411_config pvr2_s5h1411_config = { |
370 | .output_mode = S5H1411_PARALLEL_OUTPUT, | |
371 | .gpio = S5H1411_GPIO_OFF, | |
372 | .vsb_if = S5H1411_IF_44000, | |
373 | .qam_if = S5H1411_IF_4000, | |
374 | .inversion = S5H1411_INVERSION_ON, | |
375 | .status_mode = S5H1411_DEMODLOCKING, | |
376 | }; | |
377 | ||
087886eb MK |
378 | static struct tda18271_std_map hauppauge_tda18271_std_map = { |
379 | .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3, | |
380 | .if_lvl = 6, .rfagc_top = 0x37, }, | |
381 | .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0, | |
382 | .if_lvl = 6, .rfagc_top = 0x37, }, | |
383 | }; | |
384 | ||
385 | static struct tda18271_config hauppauge_tda18271_config = { | |
386 | .std_map = &hauppauge_tda18271_std_map, | |
387 | .gate = TDA18271_GATE_ANALOG, | |
388 | }; | |
389 | ||
390 | static int pvr2_s5h1409_attach(struct pvr2_dvb_adapter *adap) | |
391 | { | |
392 | adap->fe = dvb_attach(s5h1409_attach, &pvr2_s5h1409_config, | |
393 | &adap->channel.hdw->i2c_adap); | |
394 | if (adap->fe) | |
395 | return 0; | |
396 | ||
397 | return -EIO; | |
398 | } | |
399 | ||
4aef8fdd MK |
400 | static int pvr2_s5h1411_attach(struct pvr2_dvb_adapter *adap) |
401 | { | |
402 | adap->fe = dvb_attach(s5h1411_attach, &pvr2_s5h1411_config, | |
403 | &adap->channel.hdw->i2c_adap); | |
404 | if (adap->fe) | |
405 | return 0; | |
406 | ||
407 | return -EIO; | |
408 | } | |
409 | ||
087886eb MK |
410 | static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap) |
411 | { | |
412 | dvb_attach(tda829x_attach, adap->fe, | |
413 | &adap->channel.hdw->i2c_adap, 0x42, | |
414 | &tda829x_no_probe); | |
415 | dvb_attach(tda18271_attach, adap->fe, 0x60, | |
416 | &adap->channel.hdw->i2c_adap, | |
417 | &hauppauge_tda18271_config); | |
418 | ||
419 | return 0; | |
420 | } | |
421 | ||
e9b59f6e | 422 | static struct pvr2_dvb_props pvr2_750xx_dvb_props = { |
087886eb MK |
423 | .frontend_attach = pvr2_s5h1409_attach, |
424 | .tuner_attach = pvr2_tda18271_8295_attach, | |
425 | }; | |
4aef8fdd | 426 | |
e9b59f6e | 427 | static struct pvr2_dvb_props pvr2_751xx_dvb_props = { |
4aef8fdd MK |
428 | .frontend_attach = pvr2_s5h1411_attach, |
429 | .tuner_attach = pvr2_tda18271_8295_attach, | |
430 | }; | |
087886eb MK |
431 | #endif |
432 | ||
11fcd470 MK |
433 | static const char *pvr2_fw1_names_75xxx[] = { |
434 | "v4l-pvrusb2-73xxx-01.fw", | |
435 | }; | |
436 | ||
c8812841 | 437 | static const struct pvr2_device_desc pvr2_device_750xx = { |
353facd4 | 438 | .description = "WinTV HVR-1950 Model Category 750xx", |
c8812841 | 439 | .shortname = "750xx", |
dd5f322f MI |
440 | .client_table.lst = pvr2_cli_73xxx, |
441 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx), | |
c8812841 MK |
442 | .fx2_firmware.lst = pvr2_fw1_names_75xxx, |
443 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx), | |
444 | .flag_has_cx25840 = !0, | |
445 | .flag_has_hauppauge_rom = !0, | |
446 | .flag_has_analogtuner = !0, | |
447 | .flag_has_composite = !0, | |
448 | .flag_has_svideo = !0, | |
449 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, | |
450 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE, | |
451 | .default_std_mask = V4L2_STD_NTSC_M, | |
452 | .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE, | |
31335b13 | 453 | .ir_scheme = PVR2_IR_SCHEME_ZILOG, |
087886eb MK |
454 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
455 | .dvb_props = &pvr2_750xx_dvb_props, | |
456 | #endif | |
c8812841 MK |
457 | }; |
458 | ||
459 | static const struct pvr2_device_desc pvr2_device_751xx = { | |
353facd4 | 460 | .description = "WinTV HVR-1950 Model Category 751xx", |
c8812841 | 461 | .shortname = "751xx", |
dd5f322f MI |
462 | .client_table.lst = pvr2_cli_73xxx, |
463 | .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx), | |
11fcd470 MK |
464 | .fx2_firmware.lst = pvr2_fw1_names_75xxx, |
465 | .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx), | |
466 | .flag_has_cx25840 = !0, | |
467 | .flag_has_hauppauge_rom = !0, | |
1aaac60f MI |
468 | .flag_has_analogtuner = !0, |
469 | .flag_has_composite = !0, | |
470 | .flag_has_svideo = !0, | |
11fcd470 | 471 | .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE, |
e8f5bacf | 472 | .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE, |
11fcd470 | 473 | .default_std_mask = V4L2_STD_NTSC_M, |
40381cb0 | 474 | .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE, |
31335b13 | 475 | .ir_scheme = PVR2_IR_SCHEME_ZILOG, |
4aef8fdd MK |
476 | #ifdef CONFIG_VIDEO_PVRUSB2_DVB |
477 | .dvb_props = &pvr2_751xx_dvb_props, | |
478 | #endif | |
11fcd470 MK |
479 | }; |
480 | ||
481 | ||
482 | ||
d130fa8a MI |
483 | /*------------------------------------------------------------------------*/ |
484 | ||
485 | struct usb_device_id pvr2_device_table[] = { | |
486 | { USB_DEVICE(0x2040, 0x2900), | |
487 | .driver_info = (kernel_ulong_t)&pvr2_device_29xxx}, | |
b675c052 MI |
488 | { USB_DEVICE(0x2040, 0x2950), /* Logically identical to 2900 */ |
489 | .driver_info = (kernel_ulong_t)&pvr2_device_29xxx}, | |
d130fa8a MI |
490 | { USB_DEVICE(0x2040, 0x2400), |
491 | .driver_info = (kernel_ulong_t)&pvr2_device_24xxx}, | |
492 | { USB_DEVICE(0x1164, 0x0622), | |
493 | .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2}, | |
fd1da789 MI |
494 | { USB_DEVICE(0x1164, 0x0602), |
495 | .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2d}, | |
d130fa8a MI |
496 | { USB_DEVICE(0x11ba, 0x1003), |
497 | .driver_info = (kernel_ulong_t)&pvr2_device_onair_creator}, | |
d130fa8a MI |
498 | { USB_DEVICE(0x11ba, 0x1001), |
499 | .driver_info = (kernel_ulong_t)&pvr2_device_onair_usb2}, | |
92c9d075 MK |
500 | { USB_DEVICE(0x2040, 0x7300), |
501 | .driver_info = (kernel_ulong_t)&pvr2_device_73xxx}, | |
11fcd470 | 502 | { USB_DEVICE(0x2040, 0x7500), |
c8812841 | 503 | .driver_info = (kernel_ulong_t)&pvr2_device_750xx}, |
dd6e9467 | 504 | { USB_DEVICE(0x2040, 0x7501), |
c8812841 | 505 | .driver_info = (kernel_ulong_t)&pvr2_device_751xx}, |
d130fa8a MI |
506 | { } |
507 | }; | |
989eb154 MI |
508 | |
509 | MODULE_DEVICE_TABLE(usb, pvr2_device_table); | |
510 | ||
511 | ||
512 | /* | |
513 | Stuff for Emacs to see, in order to encourage consistent editing style: | |
514 | *** Local Variables: *** | |
515 | *** mode: c *** | |
516 | *** fill-column: 75 *** | |
517 | *** tab-width: 8 *** | |
518 | *** c-basic-offset: 8 *** | |
519 | *** End: *** | |
520 | */ |