blob: 2dd06a90adce435869226611f0864d77ee2f3d65 [file] [log] [blame]
Mike Isely989eb152007-11-26 01:53:12 -03001/*
2 *
3 * $Id$
4 *
5 * Copyright (C) 2007 Mike Isely <isely@pobox.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 */
21
22/*
23
24This source file should encompass ALL per-device type information for the
25driver. To define a new device, add elements to the pvr2_device_table and
26pvr2_device_desc structures.
27
28*/
29
30#include "pvrusb2-devattr.h"
31#include <linux/usb.h>
Mike Isely6a540252007-12-02 23:51:34 -030032/* This is needed in order to pull in tuner type ids... */
Mike Isely9e2e3ae2007-11-26 02:14:23 -030033#include <linux/i2c.h>
Mike Isely9e2e3ae2007-11-26 02:14:23 -030034#include <media/tuner.h>
Michael Krufky906a4952008-03-28 05:47:47 -030035#ifdef CONFIG_VIDEO_PVRUSB2_DVB
36#include "pvrusb2-hdw-internal.h"
37#include "lgdt330x.h"
Michael Krufky087886e2008-03-28 05:49:36 -030038#include "s5h1409.h"
Michael Krufky95814bc2008-04-19 15:36:51 -030039#include "tda10048.h"
Michael Krufky087886e2008-03-28 05:49:36 -030040#include "tda18271.h"
41#include "tda8290.h"
Michael Krufky906a4952008-03-28 05:47:47 -030042#include "tuner-simple.h"
43#endif
Mike Isely989eb152007-11-26 01:53:12 -030044
Mike Isely45427832007-12-08 17:11:13 -030045
Mike Iselyd130fa82007-12-08 17:20:06 -030046/*------------------------------------------------------------------------*/
47/* Hauppauge PVR-USB2 Model 29xxx */
Mike Isely989eb152007-11-26 01:53:12 -030048
Mike Isely989eb152007-11-26 01:53:12 -030049static const char *pvr2_client_29xxx[] = {
50 "msp3400",
51 "saa7115",
52 "tuner",
53};
54
Mike Isely989eb152007-11-26 01:53:12 -030055static const char *pvr2_fw1_names_29xxx[] = {
56 "v4l-pvrusb2-29xxx-01.fw",
57};
58
Mike Iselyd130fa82007-12-08 17:20:06 -030059static const struct pvr2_device_desc pvr2_device_29xxx = {
Mike Iselye7f677f2008-03-16 01:13:17 -030060 .description = "WinTV PVR USB2 Model Category 29xxx",
Mike Isely989eb152007-11-26 01:53:12 -030061 .shortname = "29xxx",
62 .client_modules.lst = pvr2_client_29xxx,
63 .client_modules.cnt = ARRAY_SIZE(pvr2_client_29xxx),
64 .fx2_firmware.lst = pvr2_fw1_names_29xxx,
65 .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx),
Mike Iselyaaf78842007-11-26 02:04:11 -030066 .flag_has_hauppauge_rom = !0,
Mike Isely1aaac602008-04-22 14:45:36 -030067 .flag_has_analogtuner = !0,
Mike Iselyd068c6e2008-04-22 14:45:36 -030068 .flag_has_fmradio = !0,
Mike Isely1aaac602008-04-22 14:45:36 -030069 .flag_has_composite = !0,
70 .flag_has_svideo = !0,
Mike Iselyf5174af2007-11-26 02:07:26 -030071 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
Mike Isely40381cb2008-04-22 14:45:42 -030072 .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
Mike Iselyd130fa82007-12-08 17:20:06 -030073};
74
75
76
77/*------------------------------------------------------------------------*/
78/* Hauppauge PVR-USB2 Model 24xxx */
79
80static const char *pvr2_client_24xxx[] = {
81 "cx25840",
82 "tuner",
83 "wm8775",
84};
85
86static const char *pvr2_fw1_names_24xxx[] = {
87 "v4l-pvrusb2-24xxx-01.fw",
88};
89
90static const struct pvr2_device_desc pvr2_device_24xxx = {
Mike Iselye7f677f2008-03-16 01:13:17 -030091 .description = "WinTV PVR USB2 Model Category 24xxx",
Mike Isely989eb152007-11-26 01:53:12 -030092 .shortname = "24xxx",
93 .client_modules.lst = pvr2_client_24xxx,
94 .client_modules.cnt = ARRAY_SIZE(pvr2_client_24xxx),
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,
Mike Iselyaaf78842007-11-26 02:04:11 -030099 .flag_has_hauppauge_rom = !0,
Mike Isely056d1a82007-11-26 02:09:42 -0300100 .flag_has_hauppauge_custom_ir = !0,
Mike Isely1aaac602008-04-22 14:45:36 -0300101 .flag_has_analogtuner = !0,
Mike Iselyd068c6e2008-04-22 14:45:36 -0300102 .flag_has_fmradio = !0,
Mike Isely1aaac602008-04-22 14:45:36 -0300103 .flag_has_composite = !0,
104 .flag_has_svideo = !0,
Mike Iselyf5174af2007-11-26 02:07:26 -0300105 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
Mike Isely40381cb2008-04-22 14:45:42 -0300106 .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
Mike Iselyd130fa82007-12-08 17:20:06 -0300107};
108
109
110
111/*------------------------------------------------------------------------*/
112/* GOTVIEW USB2.0 DVD2 */
113
114static const char *pvr2_client_gotview_2[] = {
115 "cx25840",
116 "tuner",
117};
118
119static const struct pvr2_device_desc pvr2_device_gotview_2 = {
Mike Isely9e2e3ae2007-11-26 02:14:23 -0300120 .description = "Gotview USB 2.0 DVD 2",
121 .shortname = "gv2",
122 .client_modules.lst = pvr2_client_gotview_2,
123 .client_modules.cnt = ARRAY_SIZE(pvr2_client_gotview_2),
Mike Isely787f5ab2007-12-08 17:08:32 -0300124 .flag_has_cx25840 = !0,
Mike Isely9e2e3ae2007-11-26 02:14:23 -0300125 .default_tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mike Isely1aaac602008-04-22 14:45:36 -0300126 .flag_has_analogtuner = !0,
Mike Isely1df59f02008-04-21 03:50:39 -0300127 .flag_has_fmradio = !0,
Mike Isely1aaac602008-04-22 14:45:36 -0300128 .flag_has_composite = !0,
129 .flag_has_svideo = !0,
Mike Isely9e2e3ae2007-11-26 02:14:23 -0300130 .signal_routing_scheme = PVR2_ROUTING_SCHEME_GOTVIEW,
Mike Isely989eb152007-11-26 01:53:12 -0300131};
132
Mike Iselyd130fa82007-12-08 17:20:06 -0300133
134
Mike Iselyfd1da782008-04-22 14:45:42 -0300135/*------------------------------------------------------------------------*/
136/* GOTVIEW USB2.0 DVD Deluxe */
137
138/* (same module list as gotview_2) */
139
140static const struct pvr2_device_desc pvr2_device_gotview_2d = {
141 .description = "Gotview USB 2.0 DVD Deluxe",
142 .shortname = "gv2d",
143 .client_modules.lst = pvr2_client_gotview_2,
144 .client_modules.cnt = ARRAY_SIZE(pvr2_client_gotview_2),
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
Mike Iselyd130fa82007-12-08 17:20:06 -0300155#ifdef CONFIG_VIDEO_PVRUSB2_ONAIR_CREATOR
156/*------------------------------------------------------------------------*/
157/* OnAir Creator */
158
Michael Krufky906a4952008-03-28 05:47:47 -0300159#ifdef CONFIG_VIDEO_PVRUSB2_DVB
160static struct lgdt330x_config pvr2_lgdt3303_config = {
161 .demod_address = 0x0e,
162 .demod_chip = LGDT3303,
163 .clock_polarity_flip = 1,
164};
165
166static int pvr2_lgdt3303_attach(struct pvr2_dvb_adapter *adap)
167{
168 adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3303_config,
169 &adap->channel.hdw->i2c_adap);
170 if (adap->fe)
171 return 0;
172
173 return -EIO;
174}
175
176static int pvr2_lgh06xf_attach(struct pvr2_dvb_adapter *adap)
177{
178 dvb_attach(simple_tuner_attach, adap->fe,
179 &adap->channel.hdw->i2c_adap, 0x61,
180 TUNER_LG_TDVS_H06XF);
181
182 return 0;
183}
184
185struct pvr2_dvb_props pvr2_onair_creator_fe_props = {
186 .frontend_attach = pvr2_lgdt3303_attach,
187 .tuner_attach = pvr2_lgh06xf_attach,
188};
189#endif
190
Mike Iselyd130fa82007-12-08 17:20:06 -0300191static const char *pvr2_client_onair_creator[] = {
192 "saa7115",
193 "tuner",
194 "cs53l32a",
195};
196
197static const struct pvr2_device_desc pvr2_device_onair_creator = {
198 .description = "OnAir Creator Hybrid USB tuner",
199 .shortname = "oac",
200 .client_modules.lst = pvr2_client_onair_creator,
201 .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_creator),
202 .default_tuner_type = TUNER_LG_TDVS_H06XF,
Mike Isely1aaac602008-04-22 14:45:36 -0300203 .flag_has_analogtuner = !0,
204 .flag_has_composite = !0,
205 .flag_has_svideo = !0,
Mike Isely72998b72008-04-03 04:51:19 -0300206 .flag_digital_requires_cx23416 = !0,
Mike Iselyd130fa82007-12-08 17:20:06 -0300207 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
Mike Iselye8f5bac2008-04-22 14:45:40 -0300208 .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
Michael Krufkyf0910c72008-04-22 14:45:45 -0300209 .default_std_mask = V4L2_STD_NTSC_M,
Michael Krufky906a4952008-03-28 05:47:47 -0300210#ifdef CONFIG_VIDEO_PVRUSB2_DVB
211 .dvb_props = &pvr2_onair_creator_fe_props,
212#endif
Mike Iselyd130fa82007-12-08 17:20:06 -0300213};
214#endif
215
216
217
218#ifdef CONFIG_VIDEO_PVRUSB2_ONAIR_USB2
219/*------------------------------------------------------------------------*/
220/* OnAir USB 2.0 */
221
Michael Krufky906a4952008-03-28 05:47:47 -0300222#ifdef CONFIG_VIDEO_PVRUSB2_DVB
223static struct lgdt330x_config pvr2_lgdt3302_config = {
224 .demod_address = 0x0e,
225 .demod_chip = LGDT3302,
226};
227
228static int pvr2_lgdt3302_attach(struct pvr2_dvb_adapter *adap)
229{
230 adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3302_config,
231 &adap->channel.hdw->i2c_adap);
232 if (adap->fe)
233 return 0;
234
235 return -EIO;
236}
237
238static int pvr2_fcv1236d_attach(struct pvr2_dvb_adapter *adap)
239{
240 dvb_attach(simple_tuner_attach, adap->fe,
241 &adap->channel.hdw->i2c_adap, 0x61,
242 TUNER_PHILIPS_FCV1236D);
243
244 return 0;
245}
246
247struct pvr2_dvb_props pvr2_onair_usb2_fe_props = {
248 .frontend_attach = pvr2_lgdt3302_attach,
249 .tuner_attach = pvr2_fcv1236d_attach,
250};
251#endif
252
Mike Iselyd130fa82007-12-08 17:20:06 -0300253static const char *pvr2_client_onair_usb2[] = {
254 "saa7115",
255 "tuner",
256 "cs53l32a",
257};
258
259static const struct pvr2_device_desc pvr2_device_onair_usb2 = {
260 .description = "OnAir USB2 Hybrid USB tuner",
261 .shortname = "oa2",
262 .client_modules.lst = pvr2_client_onair_usb2,
263 .client_modules.cnt = ARRAY_SIZE(pvr2_client_onair_usb2),
Michael Krufkyab8b8702008-04-22 14:46:05 -0300264 .default_tuner_type = TUNER_PHILIPS_FCV1236D,
Mike Isely1aaac602008-04-22 14:45:36 -0300265 .flag_has_analogtuner = !0,
266 .flag_has_composite = !0,
267 .flag_has_svideo = !0,
Mike Isely72998b72008-04-03 04:51:19 -0300268 .flag_digital_requires_cx23416 = !0,
Mike Iselyd130fa82007-12-08 17:20:06 -0300269 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
Mike Iselye8f5bac2008-04-22 14:45:40 -0300270 .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
Michael Krufkyf0910c72008-04-22 14:45:45 -0300271 .default_std_mask = V4L2_STD_NTSC_M,
Michael Krufky906a4952008-03-28 05:47:47 -0300272#ifdef CONFIG_VIDEO_PVRUSB2_DVB
273 .dvb_props = &pvr2_onair_usb2_fe_props,
274#endif
Mike Iselyd130fa82007-12-08 17:20:06 -0300275};
276#endif
277
278
279
280/*------------------------------------------------------------------------*/
Michael Krufky92c9d072008-03-15 23:59:29 -0300281/* Hauppauge PVR-USB2 Model 73xxx */
282
Michael Krufky95814bc2008-04-19 15:36:51 -0300283#ifdef CONFIG_VIDEO_PVRUSB2_DVB
284static struct tda10048_config hauppauge_tda10048_config = {
285 .demod_address = 0x10 >> 1,
286 .output_mode = TDA10048_PARALLEL_OUTPUT,
287 .fwbulkwritelen = TDA10048_BULKWRITE_50,
288 .inversion = TDA10048_INVERSION_ON,
289};
290
291static struct tda829x_config tda829x_no_probe = {
292 .probe_tuner = TDA829X_DONT_PROBE,
293};
294
295static struct tda18271_config hauppauge_tda18271_dvb_config = {
296 .gate = TDA18271_GATE_ANALOG,
297};
298
299static int pvr2_tda10048_attach(struct pvr2_dvb_adapter *adap)
300{
301 adap->fe = dvb_attach(tda10048_attach, &hauppauge_tda10048_config,
302 &adap->channel.hdw->i2c_adap);
303 if (adap->fe)
304 return 0;
305
306 return -EIO;
307}
308
309static int pvr2_73xxx_tda18271_8295_attach(struct pvr2_dvb_adapter *adap)
310{
311 dvb_attach(tda829x_attach, adap->fe,
312 &adap->channel.hdw->i2c_adap, 0x42,
313 &tda829x_no_probe);
314 dvb_attach(tda18271_attach, adap->fe, 0x60,
315 &adap->channel.hdw->i2c_adap,
316 &hauppauge_tda18271_dvb_config);
317
318 return 0;
319}
320
321struct pvr2_dvb_props pvr2_73xxx_dvb_props = {
322 .frontend_attach = pvr2_tda10048_attach,
323 .tuner_attach = pvr2_73xxx_tda18271_8295_attach,
324};
325#endif
326
Michael Krufky92c9d072008-03-15 23:59:29 -0300327static const char *pvr2_client_73xxx[] = {
328 "cx25840",
329 "tuner",
330};
331
332static const char *pvr2_fw1_names_73xxx[] = {
333 "v4l-pvrusb2-73xxx-01.fw",
334};
335
336static const struct pvr2_device_desc pvr2_device_73xxx = {
Mike Iselye7f677f2008-03-16 01:13:17 -0300337 .description = "WinTV PVR USB2 Model Category 73xxx",
Michael Krufky92c9d072008-03-15 23:59:29 -0300338 .shortname = "73xxx",
339 .client_modules.lst = pvr2_client_73xxx,
340 .client_modules.cnt = ARRAY_SIZE(pvr2_client_73xxx),
341 .fx2_firmware.lst = pvr2_fw1_names_73xxx,
342 .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_73xxx),
343 .flag_has_cx25840 = !0,
344 .flag_has_hauppauge_rom = !0,
345 .flag_has_analogtuner = !0,
346 .flag_has_composite = !0,
347 .flag_has_svideo = !0,
348 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
349 .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
350 .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
Michael Krufky95814bc2008-04-19 15:36:51 -0300351#ifdef CONFIG_VIDEO_PVRUSB2_DVB
352 .dvb_props = &pvr2_73xxx_dvb_props,
353#endif
Michael Krufky92c9d072008-03-15 23:59:29 -0300354};
355
356
357
358/*------------------------------------------------------------------------*/
Michael Krufky11fcd472007-10-25 02:01:10 -0300359/* Hauppauge PVR-USB2 Model 75xxx */
360
Michael Krufky087886e2008-03-28 05:49:36 -0300361#ifdef CONFIG_VIDEO_PVRUSB2_DVB
362static struct s5h1409_config pvr2_s5h1409_config = {
363 .demod_address = 0x32 >> 1,
364 .output_mode = S5H1409_PARALLEL_OUTPUT,
365 .gpio = S5H1409_GPIO_OFF,
366 .qam_if = 4000,
367 .inversion = S5H1409_INVERSION_ON,
368 .status_mode = S5H1409_DEMODLOCKING,
369};
370
Michael Krufky087886e2008-03-28 05:49:36 -0300371static struct tda18271_std_map hauppauge_tda18271_std_map = {
372 .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
373 .if_lvl = 6, .rfagc_top = 0x37, },
374 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
375 .if_lvl = 6, .rfagc_top = 0x37, },
376};
377
378static struct tda18271_config hauppauge_tda18271_config = {
379 .std_map = &hauppauge_tda18271_std_map,
380 .gate = TDA18271_GATE_ANALOG,
381};
382
383static int pvr2_s5h1409_attach(struct pvr2_dvb_adapter *adap)
384{
385 adap->fe = dvb_attach(s5h1409_attach, &pvr2_s5h1409_config,
386 &adap->channel.hdw->i2c_adap);
387 if (adap->fe)
388 return 0;
389
390 return -EIO;
391}
392
393static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap)
394{
395 dvb_attach(tda829x_attach, adap->fe,
396 &adap->channel.hdw->i2c_adap, 0x42,
397 &tda829x_no_probe);
398 dvb_attach(tda18271_attach, adap->fe, 0x60,
399 &adap->channel.hdw->i2c_adap,
400 &hauppauge_tda18271_config);
401
402 return 0;
403}
404
405struct pvr2_dvb_props pvr2_750xx_dvb_props = {
406 .frontend_attach = pvr2_s5h1409_attach,
407 .tuner_attach = pvr2_tda18271_8295_attach,
408};
409#endif
410
Michael Krufky11fcd472007-10-25 02:01:10 -0300411static const char *pvr2_client_75xxx[] = {
412 "cx25840",
413 "tuner",
414};
415
416static const char *pvr2_fw1_names_75xxx[] = {
417 "v4l-pvrusb2-73xxx-01.fw",
418};
419
Michael Krufkyc8812842008-03-28 05:48:44 -0300420static const struct pvr2_device_desc pvr2_device_750xx = {
421 .description = "WinTV PVR USB2 Model Category 750xx",
422 .shortname = "750xx",
423 .client_modules.lst = pvr2_client_75xxx,
424 .client_modules.cnt = ARRAY_SIZE(pvr2_client_75xxx),
425 .fx2_firmware.lst = pvr2_fw1_names_75xxx,
426 .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
427 .flag_has_cx25840 = !0,
428 .flag_has_hauppauge_rom = !0,
429 .flag_has_analogtuner = !0,
430 .flag_has_composite = !0,
431 .flag_has_svideo = !0,
432 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
433 .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
434 .default_std_mask = V4L2_STD_NTSC_M,
435 .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
Michael Krufky087886e2008-03-28 05:49:36 -0300436#ifdef CONFIG_VIDEO_PVRUSB2_DVB
437 .dvb_props = &pvr2_750xx_dvb_props,
438#endif
Michael Krufkyc8812842008-03-28 05:48:44 -0300439};
440
441static const struct pvr2_device_desc pvr2_device_751xx = {
442 .description = "WinTV PVR USB2 Model Category 751xx",
443 .shortname = "751xx",
Michael Krufky11fcd472007-10-25 02:01:10 -0300444 .client_modules.lst = pvr2_client_75xxx,
445 .client_modules.cnt = ARRAY_SIZE(pvr2_client_75xxx),
446 .fx2_firmware.lst = pvr2_fw1_names_75xxx,
447 .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
448 .flag_has_cx25840 = !0,
449 .flag_has_hauppauge_rom = !0,
Mike Isely1aaac602008-04-22 14:45:36 -0300450 .flag_has_analogtuner = !0,
451 .flag_has_composite = !0,
452 .flag_has_svideo = !0,
Michael Krufky11fcd472007-10-25 02:01:10 -0300453 .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
Mike Iselye8f5bac2008-04-22 14:45:40 -0300454 .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
Michael Krufky11fcd472007-10-25 02:01:10 -0300455 .default_std_mask = V4L2_STD_NTSC_M,
Mike Isely40381cb2008-04-22 14:45:42 -0300456 .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
Michael Krufky11fcd472007-10-25 02:01:10 -0300457};
458
459
460
461/*------------------------------------------------------------------------*/
Mike Iselyd130fa82007-12-08 17:20:06 -0300462
463struct usb_device_id pvr2_device_table[] = {
464 { USB_DEVICE(0x2040, 0x2900),
465 .driver_info = (kernel_ulong_t)&pvr2_device_29xxx},
466 { USB_DEVICE(0x2040, 0x2400),
467 .driver_info = (kernel_ulong_t)&pvr2_device_24xxx},
468 { USB_DEVICE(0x1164, 0x0622),
469 .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2},
Mike Iselyfd1da782008-04-22 14:45:42 -0300470 { USB_DEVICE(0x1164, 0x0602),
471 .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2d},
Mike Iselyd130fa82007-12-08 17:20:06 -0300472#ifdef CONFIG_VIDEO_PVRUSB2_ONAIR_CREATOR
473 { USB_DEVICE(0x11ba, 0x1003),
474 .driver_info = (kernel_ulong_t)&pvr2_device_onair_creator},
475#endif
476#ifdef CONFIG_VIDEO_PVRUSB2_ONAIR_USB2
477 { USB_DEVICE(0x11ba, 0x1001),
478 .driver_info = (kernel_ulong_t)&pvr2_device_onair_usb2},
479#endif
Michael Krufky92c9d072008-03-15 23:59:29 -0300480 { USB_DEVICE(0x2040, 0x7300),
481 .driver_info = (kernel_ulong_t)&pvr2_device_73xxx},
Michael Krufky11fcd472007-10-25 02:01:10 -0300482 { USB_DEVICE(0x2040, 0x7500),
Michael Krufkyc8812842008-03-28 05:48:44 -0300483 .driver_info = (kernel_ulong_t)&pvr2_device_750xx},
Michael Krufkydd6e9462008-03-08 06:07:38 -0300484 { USB_DEVICE(0x2040, 0x7501),
Michael Krufkyc8812842008-03-28 05:48:44 -0300485 .driver_info = (kernel_ulong_t)&pvr2_device_751xx},
Mike Iselyd130fa82007-12-08 17:20:06 -0300486 { }
487};
Mike Isely989eb152007-11-26 01:53:12 -0300488
489MODULE_DEVICE_TABLE(usb, pvr2_device_table);
490
491
492/*
493 Stuff for Emacs to see, in order to encourage consistent editing style:
494 *** Local Variables: ***
495 *** mode: c ***
496 *** fill-column: 75 ***
497 *** tab-width: 8 ***
498 *** c-basic-offset: 8 ***
499 *** End: ***
500 */