pvrusb2-devattr.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  1. /*
  2. *
  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. This source file should encompass ALL per-device type information for the
  22. driver. To define a new device, add elements to the pvr2_device_table and
  23. pvr2_device_desc structures.
  24. */
  25. #include "pvrusb2-devattr.h"
  26. #include <linux/usb.h>
  27. /* This is needed in order to pull in tuner type ids... */
  28. #include <linux/i2c.h>
  29. #include <media/tuner.h>
  30. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  31. #include "pvrusb2-hdw-internal.h"
  32. #include "lgdt330x.h"
  33. #include "s5h1409.h"
  34. #include "s5h1411.h"
  35. #include "tda10048.h"
  36. #include "tda18271.h"
  37. #include "tda8290.h"
  38. #include "tuner-simple.h"
  39. #endif
  40. /*------------------------------------------------------------------------*/
  41. /* Hauppauge PVR-USB2 Model 29xxx */
  42. static const struct pvr2_device_client_desc pvr2_cli_29xxx[] = {
  43. { .module_id = PVR2_CLIENT_ID_SAA7115 },
  44. { .module_id = PVR2_CLIENT_ID_MSP3400 },
  45. { .module_id = PVR2_CLIENT_ID_TUNER },
  46. { .module_id = PVR2_CLIENT_ID_DEMOD },
  47. };
  48. static const char *pvr2_fw1_names_29xxx[] = {
  49. "v4l-pvrusb2-29xxx-01.fw",
  50. };
  51. static const struct pvr2_device_desc pvr2_device_29xxx = {
  52. .description = "WinTV PVR USB2 Model 29xxx",
  53. .shortname = "29xxx",
  54. .client_table.lst = pvr2_cli_29xxx,
  55. .client_table.cnt = ARRAY_SIZE(pvr2_cli_29xxx),
  56. .fx2_firmware.lst = pvr2_fw1_names_29xxx,
  57. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_29xxx),
  58. .flag_has_hauppauge_rom = !0,
  59. .flag_has_analogtuner = !0,
  60. .flag_has_fmradio = !0,
  61. .flag_has_composite = !0,
  62. .flag_has_svideo = !0,
  63. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  64. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  65. .ir_scheme = PVR2_IR_SCHEME_29XXX,
  66. };
  67. /*------------------------------------------------------------------------*/
  68. /* Hauppauge PVR-USB2 Model 24xxx */
  69. static const struct pvr2_device_client_desc pvr2_cli_24xxx[] = {
  70. { .module_id = PVR2_CLIENT_ID_CX25840 },
  71. { .module_id = PVR2_CLIENT_ID_TUNER },
  72. { .module_id = PVR2_CLIENT_ID_WM8775 },
  73. { .module_id = PVR2_CLIENT_ID_DEMOD },
  74. };
  75. static const char *pvr2_fw1_names_24xxx[] = {
  76. "v4l-pvrusb2-24xxx-01.fw",
  77. };
  78. static const struct pvr2_device_desc pvr2_device_24xxx = {
  79. .description = "WinTV PVR USB2 Model 24xxx",
  80. .shortname = "24xxx",
  81. .client_table.lst = pvr2_cli_24xxx,
  82. .client_table.cnt = ARRAY_SIZE(pvr2_cli_24xxx),
  83. .fx2_firmware.lst = pvr2_fw1_names_24xxx,
  84. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_24xxx),
  85. .flag_has_cx25840 = !0,
  86. .flag_has_wm8775 = !0,
  87. .flag_has_hauppauge_rom = !0,
  88. .flag_has_analogtuner = !0,
  89. .flag_has_fmradio = !0,
  90. .flag_has_composite = !0,
  91. .flag_has_svideo = !0,
  92. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  93. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  94. .ir_scheme = PVR2_IR_SCHEME_24XXX,
  95. };
  96. /*------------------------------------------------------------------------*/
  97. /* GOTVIEW USB2.0 DVD2 */
  98. static const struct pvr2_device_client_desc pvr2_cli_gotview_2[] = {
  99. { .module_id = PVR2_CLIENT_ID_CX25840 },
  100. { .module_id = PVR2_CLIENT_ID_TUNER },
  101. { .module_id = PVR2_CLIENT_ID_DEMOD },
  102. };
  103. static const struct pvr2_device_desc pvr2_device_gotview_2 = {
  104. .description = "Gotview USB 2.0 DVD 2",
  105. .shortname = "gv2",
  106. .client_table.lst = pvr2_cli_gotview_2,
  107. .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2),
  108. .flag_has_cx25840 = !0,
  109. .default_tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
  110. .flag_has_analogtuner = !0,
  111. .flag_has_fmradio = !0,
  112. .flag_has_composite = !0,
  113. .flag_has_svideo = !0,
  114. .signal_routing_scheme = PVR2_ROUTING_SCHEME_GOTVIEW,
  115. };
  116. /*------------------------------------------------------------------------*/
  117. /* GOTVIEW USB2.0 DVD Deluxe */
  118. /* (same module list as gotview_2) */
  119. static const struct pvr2_device_desc pvr2_device_gotview_2d = {
  120. .description = "Gotview USB 2.0 DVD Deluxe",
  121. .shortname = "gv2d",
  122. .client_table.lst = pvr2_cli_gotview_2,
  123. .client_table.cnt = ARRAY_SIZE(pvr2_cli_gotview_2),
  124. .flag_has_cx25840 = !0,
  125. .default_tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
  126. .flag_has_analogtuner = !0,
  127. .flag_has_composite = !0,
  128. .flag_has_svideo = !0,
  129. .signal_routing_scheme = PVR2_ROUTING_SCHEME_GOTVIEW,
  130. };
  131. /*------------------------------------------------------------------------*/
  132. /* Terratec Grabster AV400 */
  133. static const struct pvr2_device_client_desc pvr2_cli_av400[] = {
  134. { .module_id = PVR2_CLIENT_ID_CX25840 },
  135. };
  136. static const struct pvr2_device_desc pvr2_device_av400 = {
  137. .description = "Terratec Grabster AV400",
  138. .shortname = "av400",
  139. .flag_is_experimental = 1,
  140. .client_table.lst = pvr2_cli_av400,
  141. .client_table.cnt = ARRAY_SIZE(pvr2_cli_av400),
  142. .flag_has_cx25840 = !0,
  143. .flag_has_analogtuner = 0,
  144. .flag_has_composite = !0,
  145. .flag_has_svideo = !0,
  146. .signal_routing_scheme = PVR2_ROUTING_SCHEME_AV400,
  147. };
  148. /*------------------------------------------------------------------------*/
  149. /* OnAir Creator */
  150. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  151. static struct lgdt330x_config pvr2_lgdt3303_config = {
  152. .demod_address = 0x0e,
  153. .demod_chip = LGDT3303,
  154. .clock_polarity_flip = 1,
  155. };
  156. static int pvr2_lgdt3303_attach(struct pvr2_dvb_adapter *adap)
  157. {
  158. adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3303_config,
  159. &adap->channel.hdw->i2c_adap);
  160. if (adap->fe)
  161. return 0;
  162. return -EIO;
  163. }
  164. static int pvr2_lgh06xf_attach(struct pvr2_dvb_adapter *adap)
  165. {
  166. dvb_attach(simple_tuner_attach, adap->fe,
  167. &adap->channel.hdw->i2c_adap, 0x61,
  168. TUNER_LG_TDVS_H06XF);
  169. return 0;
  170. }
  171. static const struct pvr2_dvb_props pvr2_onair_creator_fe_props = {
  172. .frontend_attach = pvr2_lgdt3303_attach,
  173. .tuner_attach = pvr2_lgh06xf_attach,
  174. };
  175. #endif
  176. static const struct pvr2_device_client_desc pvr2_cli_onair_creator[] = {
  177. { .module_id = PVR2_CLIENT_ID_SAA7115 },
  178. { .module_id = PVR2_CLIENT_ID_CS53L32A },
  179. { .module_id = PVR2_CLIENT_ID_TUNER },
  180. };
  181. static const struct pvr2_device_desc pvr2_device_onair_creator = {
  182. .description = "OnAir Creator Hybrid USB tuner",
  183. .shortname = "oac",
  184. .client_table.lst = pvr2_cli_onair_creator,
  185. .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_creator),
  186. .default_tuner_type = TUNER_LG_TDVS_H06XF,
  187. .flag_has_analogtuner = !0,
  188. .flag_has_composite = !0,
  189. .flag_has_svideo = !0,
  190. .flag_digital_requires_cx23416 = !0,
  191. .signal_routing_scheme = PVR2_ROUTING_SCHEME_ONAIR,
  192. .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
  193. .default_std_mask = V4L2_STD_NTSC_M,
  194. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  195. .dvb_props = &pvr2_onair_creator_fe_props,
  196. #endif
  197. };
  198. /*------------------------------------------------------------------------*/
  199. /* OnAir USB 2.0 */
  200. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  201. static struct lgdt330x_config pvr2_lgdt3302_config = {
  202. .demod_address = 0x0e,
  203. .demod_chip = LGDT3302,
  204. };
  205. static int pvr2_lgdt3302_attach(struct pvr2_dvb_adapter *adap)
  206. {
  207. adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3302_config,
  208. &adap->channel.hdw->i2c_adap);
  209. if (adap->fe)
  210. return 0;
  211. return -EIO;
  212. }
  213. static int pvr2_fcv1236d_attach(struct pvr2_dvb_adapter *adap)
  214. {
  215. dvb_attach(simple_tuner_attach, adap->fe,
  216. &adap->channel.hdw->i2c_adap, 0x61,
  217. TUNER_PHILIPS_FCV1236D);
  218. return 0;
  219. }
  220. static const struct pvr2_dvb_props pvr2_onair_usb2_fe_props = {
  221. .frontend_attach = pvr2_lgdt3302_attach,
  222. .tuner_attach = pvr2_fcv1236d_attach,
  223. };
  224. #endif
  225. static const struct pvr2_device_client_desc pvr2_cli_onair_usb2[] = {
  226. { .module_id = PVR2_CLIENT_ID_SAA7115 },
  227. { .module_id = PVR2_CLIENT_ID_CS53L32A },
  228. { .module_id = PVR2_CLIENT_ID_TUNER },
  229. };
  230. static const struct pvr2_device_desc pvr2_device_onair_usb2 = {
  231. .description = "OnAir USB2 Hybrid USB tuner",
  232. .shortname = "oa2",
  233. .client_table.lst = pvr2_cli_onair_usb2,
  234. .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_usb2),
  235. .default_tuner_type = TUNER_PHILIPS_FCV1236D,
  236. .flag_has_analogtuner = !0,
  237. .flag_has_composite = !0,
  238. .flag_has_svideo = !0,
  239. .flag_digital_requires_cx23416 = !0,
  240. .signal_routing_scheme = PVR2_ROUTING_SCHEME_ONAIR,
  241. .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
  242. .default_std_mask = V4L2_STD_NTSC_M,
  243. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  244. .dvb_props = &pvr2_onair_usb2_fe_props,
  245. #endif
  246. };
  247. /*------------------------------------------------------------------------*/
  248. /* Hauppauge PVR-USB2 Model 73xxx */
  249. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  250. static struct tda10048_config hauppauge_tda10048_config = {
  251. .demod_address = 0x10 >> 1,
  252. .output_mode = TDA10048_PARALLEL_OUTPUT,
  253. .fwbulkwritelen = TDA10048_BULKWRITE_50,
  254. .inversion = TDA10048_INVERSION_ON,
  255. .dtv6_if_freq_khz = TDA10048_IF_3300,
  256. .dtv7_if_freq_khz = TDA10048_IF_3800,
  257. .dtv8_if_freq_khz = TDA10048_IF_4300,
  258. .clk_freq_khz = TDA10048_CLK_16000,
  259. .disable_gate_access = 1,
  260. };
  261. static struct tda829x_config tda829x_no_probe = {
  262. .probe_tuner = TDA829X_DONT_PROBE,
  263. };
  264. static struct tda18271_config hauppauge_tda18271_dvb_config = {
  265. .gate = TDA18271_GATE_ANALOG,
  266. .output_opt = TDA18271_OUTPUT_LT_OFF,
  267. };
  268. static int pvr2_tda10048_attach(struct pvr2_dvb_adapter *adap)
  269. {
  270. adap->fe = dvb_attach(tda10048_attach, &hauppauge_tda10048_config,
  271. &adap->channel.hdw->i2c_adap);
  272. if (adap->fe)
  273. return 0;
  274. return -EIO;
  275. }
  276. static int pvr2_73xxx_tda18271_8295_attach(struct pvr2_dvb_adapter *adap)
  277. {
  278. dvb_attach(tda829x_attach, adap->fe,
  279. &adap->channel.hdw->i2c_adap, 0x42,
  280. &tda829x_no_probe);
  281. dvb_attach(tda18271_attach, adap->fe, 0x60,
  282. &adap->channel.hdw->i2c_adap,
  283. &hauppauge_tda18271_dvb_config);
  284. return 0;
  285. }
  286. static const struct pvr2_dvb_props pvr2_73xxx_dvb_props = {
  287. .frontend_attach = pvr2_tda10048_attach,
  288. .tuner_attach = pvr2_73xxx_tda18271_8295_attach,
  289. };
  290. #endif
  291. static const struct pvr2_device_client_desc pvr2_cli_73xxx[] = {
  292. { .module_id = PVR2_CLIENT_ID_CX25840 },
  293. { .module_id = PVR2_CLIENT_ID_TUNER,
  294. .i2c_address_list = "\x42"},
  295. };
  296. static const char *pvr2_fw1_names_73xxx[] = {
  297. "v4l-pvrusb2-73xxx-01.fw",
  298. };
  299. static const struct pvr2_device_desc pvr2_device_73xxx = {
  300. .description = "WinTV HVR-1900 Model 73xxx",
  301. .shortname = "73xxx",
  302. .client_table.lst = pvr2_cli_73xxx,
  303. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  304. .fx2_firmware.lst = pvr2_fw1_names_73xxx,
  305. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_73xxx),
  306. .flag_has_cx25840 = !0,
  307. .flag_has_hauppauge_rom = !0,
  308. .flag_has_analogtuner = !0,
  309. .flag_has_composite = !0,
  310. .flag_has_svideo = !0,
  311. .flag_fx2_16kb = !0,
  312. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  313. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  314. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  315. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  316. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  317. .dvb_props = &pvr2_73xxx_dvb_props,
  318. #endif
  319. };
  320. /*------------------------------------------------------------------------*/
  321. /* Hauppauge PVR-USB2 Model 75xxx */
  322. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  323. static struct s5h1409_config pvr2_s5h1409_config = {
  324. .demod_address = 0x32 >> 1,
  325. .output_mode = S5H1409_PARALLEL_OUTPUT,
  326. .gpio = S5H1409_GPIO_OFF,
  327. .qam_if = 4000,
  328. .inversion = S5H1409_INVERSION_ON,
  329. .status_mode = S5H1409_DEMODLOCKING,
  330. };
  331. static struct s5h1411_config pvr2_s5h1411_config = {
  332. .output_mode = S5H1411_PARALLEL_OUTPUT,
  333. .gpio = S5H1411_GPIO_OFF,
  334. .vsb_if = S5H1411_IF_44000,
  335. .qam_if = S5H1411_IF_4000,
  336. .inversion = S5H1411_INVERSION_ON,
  337. .status_mode = S5H1411_DEMODLOCKING,
  338. };
  339. static struct tda18271_std_map hauppauge_tda18271_std_map = {
  340. .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
  341. .if_lvl = 6, .rfagc_top = 0x37, },
  342. .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
  343. .if_lvl = 6, .rfagc_top = 0x37, },
  344. };
  345. static struct tda18271_config hauppauge_tda18271_config = {
  346. .std_map = &hauppauge_tda18271_std_map,
  347. .gate = TDA18271_GATE_ANALOG,
  348. .output_opt = TDA18271_OUTPUT_LT_OFF,
  349. };
  350. static int pvr2_s5h1409_attach(struct pvr2_dvb_adapter *adap)
  351. {
  352. adap->fe = dvb_attach(s5h1409_attach, &pvr2_s5h1409_config,
  353. &adap->channel.hdw->i2c_adap);
  354. if (adap->fe)
  355. return 0;
  356. return -EIO;
  357. }
  358. static int pvr2_s5h1411_attach(struct pvr2_dvb_adapter *adap)
  359. {
  360. adap->fe = dvb_attach(s5h1411_attach, &pvr2_s5h1411_config,
  361. &adap->channel.hdw->i2c_adap);
  362. if (adap->fe)
  363. return 0;
  364. return -EIO;
  365. }
  366. static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap)
  367. {
  368. dvb_attach(tda829x_attach, adap->fe,
  369. &adap->channel.hdw->i2c_adap, 0x42,
  370. &tda829x_no_probe);
  371. dvb_attach(tda18271_attach, adap->fe, 0x60,
  372. &adap->channel.hdw->i2c_adap,
  373. &hauppauge_tda18271_config);
  374. return 0;
  375. }
  376. static const struct pvr2_dvb_props pvr2_750xx_dvb_props = {
  377. .frontend_attach = pvr2_s5h1409_attach,
  378. .tuner_attach = pvr2_tda18271_8295_attach,
  379. };
  380. static const struct pvr2_dvb_props pvr2_751xx_dvb_props = {
  381. .frontend_attach = pvr2_s5h1411_attach,
  382. .tuner_attach = pvr2_tda18271_8295_attach,
  383. };
  384. #endif
  385. static const char *pvr2_fw1_names_75xxx[] = {
  386. "v4l-pvrusb2-73xxx-01.fw",
  387. };
  388. static const struct pvr2_device_desc pvr2_device_750xx = {
  389. .description = "WinTV HVR-1950 Model 750xx",
  390. .shortname = "750xx",
  391. .client_table.lst = pvr2_cli_73xxx,
  392. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  393. .fx2_firmware.lst = pvr2_fw1_names_75xxx,
  394. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
  395. .flag_has_cx25840 = !0,
  396. .flag_has_hauppauge_rom = !0,
  397. .flag_has_analogtuner = !0,
  398. .flag_has_composite = !0,
  399. .flag_has_svideo = !0,
  400. .flag_fx2_16kb = !0,
  401. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  402. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  403. .default_std_mask = V4L2_STD_NTSC_M,
  404. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  405. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  406. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  407. .dvb_props = &pvr2_750xx_dvb_props,
  408. #endif
  409. };
  410. static const struct pvr2_device_desc pvr2_device_751xx = {
  411. .description = "WinTV HVR-1950 Model 751xx",
  412. .shortname = "751xx",
  413. .client_table.lst = pvr2_cli_73xxx,
  414. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  415. .fx2_firmware.lst = pvr2_fw1_names_75xxx,
  416. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
  417. .flag_has_cx25840 = !0,
  418. .flag_has_hauppauge_rom = !0,
  419. .flag_has_analogtuner = !0,
  420. .flag_has_composite = !0,
  421. .flag_has_svideo = !0,
  422. .flag_fx2_16kb = !0,
  423. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  424. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  425. .default_std_mask = V4L2_STD_NTSC_M,
  426. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  427. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  428. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  429. .dvb_props = &pvr2_751xx_dvb_props,
  430. #endif
  431. };
  432. /*------------------------------------------------------------------------*/
  433. struct usb_device_id pvr2_device_table[] = {
  434. { USB_DEVICE(0x2040, 0x2900),
  435. .driver_info = (kernel_ulong_t)&pvr2_device_29xxx},
  436. { USB_DEVICE(0x2040, 0x2950), /* Logically identical to 2900 */
  437. .driver_info = (kernel_ulong_t)&pvr2_device_29xxx},
  438. { USB_DEVICE(0x2040, 0x2400),
  439. .driver_info = (kernel_ulong_t)&pvr2_device_24xxx},
  440. { USB_DEVICE(0x1164, 0x0622),
  441. .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2},
  442. { USB_DEVICE(0x1164, 0x0602),
  443. .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2d},
  444. { USB_DEVICE(0x11ba, 0x1003),
  445. .driver_info = (kernel_ulong_t)&pvr2_device_onair_creator},
  446. { USB_DEVICE(0x11ba, 0x1001),
  447. .driver_info = (kernel_ulong_t)&pvr2_device_onair_usb2},
  448. { USB_DEVICE(0x2040, 0x7300),
  449. .driver_info = (kernel_ulong_t)&pvr2_device_73xxx},
  450. { USB_DEVICE(0x2040, 0x7500),
  451. .driver_info = (kernel_ulong_t)&pvr2_device_750xx},
  452. { USB_DEVICE(0x2040, 0x7501),
  453. .driver_info = (kernel_ulong_t)&pvr2_device_751xx},
  454. { USB_DEVICE(0x0ccd, 0x0039),
  455. .driver_info = (kernel_ulong_t)&pvr2_device_av400},
  456. { }
  457. };
  458. MODULE_DEVICE_TABLE(usb, pvr2_device_table);
  459. /*
  460. Stuff for Emacs to see, in order to encourage consistent editing style:
  461. *** Local Variables: ***
  462. *** mode: c ***
  463. *** fill-column: 75 ***
  464. *** tab-width: 8 ***
  465. *** c-basic-offset: 8 ***
  466. *** End: ***
  467. */