pvrusb2-devattr.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  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. /* OnAir Creator */
  133. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  134. static struct lgdt330x_config pvr2_lgdt3303_config = {
  135. .demod_address = 0x0e,
  136. .demod_chip = LGDT3303,
  137. .clock_polarity_flip = 1,
  138. };
  139. static int pvr2_lgdt3303_attach(struct pvr2_dvb_adapter *adap)
  140. {
  141. adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3303_config,
  142. &adap->channel.hdw->i2c_adap);
  143. if (adap->fe)
  144. return 0;
  145. return -EIO;
  146. }
  147. static int pvr2_lgh06xf_attach(struct pvr2_dvb_adapter *adap)
  148. {
  149. dvb_attach(simple_tuner_attach, adap->fe,
  150. &adap->channel.hdw->i2c_adap, 0x61,
  151. TUNER_LG_TDVS_H06XF);
  152. return 0;
  153. }
  154. static const struct pvr2_dvb_props pvr2_onair_creator_fe_props = {
  155. .frontend_attach = pvr2_lgdt3303_attach,
  156. .tuner_attach = pvr2_lgh06xf_attach,
  157. };
  158. #endif
  159. static const struct pvr2_device_client_desc pvr2_cli_onair_creator[] = {
  160. { .module_id = PVR2_CLIENT_ID_SAA7115 },
  161. { .module_id = PVR2_CLIENT_ID_CS53L32A },
  162. { .module_id = PVR2_CLIENT_ID_TUNER },
  163. };
  164. static const struct pvr2_device_desc pvr2_device_onair_creator = {
  165. .description = "OnAir Creator Hybrid USB tuner",
  166. .shortname = "oac",
  167. .client_table.lst = pvr2_cli_onair_creator,
  168. .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_creator),
  169. .default_tuner_type = TUNER_LG_TDVS_H06XF,
  170. .flag_has_analogtuner = !0,
  171. .flag_has_composite = !0,
  172. .flag_has_svideo = !0,
  173. .flag_digital_requires_cx23416 = !0,
  174. .signal_routing_scheme = PVR2_ROUTING_SCHEME_ONAIR,
  175. .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
  176. .default_std_mask = V4L2_STD_NTSC_M,
  177. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  178. .dvb_props = &pvr2_onair_creator_fe_props,
  179. #endif
  180. };
  181. /*------------------------------------------------------------------------*/
  182. /* OnAir USB 2.0 */
  183. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  184. static struct lgdt330x_config pvr2_lgdt3302_config = {
  185. .demod_address = 0x0e,
  186. .demod_chip = LGDT3302,
  187. };
  188. static int pvr2_lgdt3302_attach(struct pvr2_dvb_adapter *adap)
  189. {
  190. adap->fe = dvb_attach(lgdt330x_attach, &pvr2_lgdt3302_config,
  191. &adap->channel.hdw->i2c_adap);
  192. if (adap->fe)
  193. return 0;
  194. return -EIO;
  195. }
  196. static int pvr2_fcv1236d_attach(struct pvr2_dvb_adapter *adap)
  197. {
  198. dvb_attach(simple_tuner_attach, adap->fe,
  199. &adap->channel.hdw->i2c_adap, 0x61,
  200. TUNER_PHILIPS_FCV1236D);
  201. return 0;
  202. }
  203. static const struct pvr2_dvb_props pvr2_onair_usb2_fe_props = {
  204. .frontend_attach = pvr2_lgdt3302_attach,
  205. .tuner_attach = pvr2_fcv1236d_attach,
  206. };
  207. #endif
  208. static const struct pvr2_device_client_desc pvr2_cli_onair_usb2[] = {
  209. { .module_id = PVR2_CLIENT_ID_SAA7115 },
  210. { .module_id = PVR2_CLIENT_ID_CS53L32A },
  211. { .module_id = PVR2_CLIENT_ID_TUNER },
  212. };
  213. static const struct pvr2_device_desc pvr2_device_onair_usb2 = {
  214. .description = "OnAir USB2 Hybrid USB tuner",
  215. .shortname = "oa2",
  216. .client_table.lst = pvr2_cli_onair_usb2,
  217. .client_table.cnt = ARRAY_SIZE(pvr2_cli_onair_usb2),
  218. .default_tuner_type = TUNER_PHILIPS_FCV1236D,
  219. .flag_has_analogtuner = !0,
  220. .flag_has_composite = !0,
  221. .flag_has_svideo = !0,
  222. .flag_digital_requires_cx23416 = !0,
  223. .signal_routing_scheme = PVR2_ROUTING_SCHEME_ONAIR,
  224. .digital_control_scheme = PVR2_DIGITAL_SCHEME_ONAIR,
  225. .default_std_mask = V4L2_STD_NTSC_M,
  226. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  227. .dvb_props = &pvr2_onair_usb2_fe_props,
  228. #endif
  229. };
  230. /*------------------------------------------------------------------------*/
  231. /* Hauppauge PVR-USB2 Model 73xxx */
  232. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  233. static struct tda10048_config hauppauge_tda10048_config = {
  234. .demod_address = 0x10 >> 1,
  235. .output_mode = TDA10048_PARALLEL_OUTPUT,
  236. .fwbulkwritelen = TDA10048_BULKWRITE_50,
  237. .inversion = TDA10048_INVERSION_ON,
  238. .dtv6_if_freq_khz = TDA10048_IF_3300,
  239. .dtv7_if_freq_khz = TDA10048_IF_3800,
  240. .dtv8_if_freq_khz = TDA10048_IF_4300,
  241. .clk_freq_khz = TDA10048_CLK_16000,
  242. .disable_gate_access = 1,
  243. };
  244. static struct tda829x_config tda829x_no_probe = {
  245. .probe_tuner = TDA829X_DONT_PROBE,
  246. };
  247. static struct tda18271_config hauppauge_tda18271_dvb_config = {
  248. .gate = TDA18271_GATE_ANALOG,
  249. .output_opt = TDA18271_OUTPUT_LT_OFF,
  250. };
  251. static int pvr2_tda10048_attach(struct pvr2_dvb_adapter *adap)
  252. {
  253. adap->fe = dvb_attach(tda10048_attach, &hauppauge_tda10048_config,
  254. &adap->channel.hdw->i2c_adap);
  255. if (adap->fe)
  256. return 0;
  257. return -EIO;
  258. }
  259. static int pvr2_73xxx_tda18271_8295_attach(struct pvr2_dvb_adapter *adap)
  260. {
  261. dvb_attach(tda829x_attach, adap->fe,
  262. &adap->channel.hdw->i2c_adap, 0x42,
  263. &tda829x_no_probe);
  264. dvb_attach(tda18271_attach, adap->fe, 0x60,
  265. &adap->channel.hdw->i2c_adap,
  266. &hauppauge_tda18271_dvb_config);
  267. return 0;
  268. }
  269. static const struct pvr2_dvb_props pvr2_73xxx_dvb_props = {
  270. .frontend_attach = pvr2_tda10048_attach,
  271. .tuner_attach = pvr2_73xxx_tda18271_8295_attach,
  272. };
  273. #endif
  274. static const struct pvr2_device_client_desc pvr2_cli_73xxx[] = {
  275. { .module_id = PVR2_CLIENT_ID_CX25840 },
  276. { .module_id = PVR2_CLIENT_ID_TUNER,
  277. .i2c_address_list = "\x42"},
  278. };
  279. static const char *pvr2_fw1_names_73xxx[] = {
  280. "v4l-pvrusb2-73xxx-01.fw",
  281. };
  282. static const struct pvr2_device_desc pvr2_device_73xxx = {
  283. .description = "WinTV HVR-1900 Model 73xxx",
  284. .shortname = "73xxx",
  285. .client_table.lst = pvr2_cli_73xxx,
  286. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  287. .fx2_firmware.lst = pvr2_fw1_names_73xxx,
  288. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_73xxx),
  289. .flag_has_cx25840 = !0,
  290. .flag_has_hauppauge_rom = !0,
  291. .flag_has_analogtuner = !0,
  292. .flag_has_composite = !0,
  293. .flag_has_svideo = !0,
  294. .flag_fx2_16kb = !0,
  295. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  296. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  297. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  298. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  299. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  300. .dvb_props = &pvr2_73xxx_dvb_props,
  301. #endif
  302. };
  303. /*------------------------------------------------------------------------*/
  304. /* Hauppauge PVR-USB2 Model 75xxx */
  305. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  306. static struct s5h1409_config pvr2_s5h1409_config = {
  307. .demod_address = 0x32 >> 1,
  308. .output_mode = S5H1409_PARALLEL_OUTPUT,
  309. .gpio = S5H1409_GPIO_OFF,
  310. .qam_if = 4000,
  311. .inversion = S5H1409_INVERSION_ON,
  312. .status_mode = S5H1409_DEMODLOCKING,
  313. };
  314. static struct s5h1411_config pvr2_s5h1411_config = {
  315. .output_mode = S5H1411_PARALLEL_OUTPUT,
  316. .gpio = S5H1411_GPIO_OFF,
  317. .vsb_if = S5H1411_IF_44000,
  318. .qam_if = S5H1411_IF_4000,
  319. .inversion = S5H1411_INVERSION_ON,
  320. .status_mode = S5H1411_DEMODLOCKING,
  321. };
  322. static struct tda18271_std_map hauppauge_tda18271_std_map = {
  323. .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
  324. .if_lvl = 6, .rfagc_top = 0x37, },
  325. .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
  326. .if_lvl = 6, .rfagc_top = 0x37, },
  327. };
  328. static struct tda18271_config hauppauge_tda18271_config = {
  329. .std_map = &hauppauge_tda18271_std_map,
  330. .gate = TDA18271_GATE_ANALOG,
  331. .output_opt = TDA18271_OUTPUT_LT_OFF,
  332. };
  333. static int pvr2_s5h1409_attach(struct pvr2_dvb_adapter *adap)
  334. {
  335. adap->fe = dvb_attach(s5h1409_attach, &pvr2_s5h1409_config,
  336. &adap->channel.hdw->i2c_adap);
  337. if (adap->fe)
  338. return 0;
  339. return -EIO;
  340. }
  341. static int pvr2_s5h1411_attach(struct pvr2_dvb_adapter *adap)
  342. {
  343. adap->fe = dvb_attach(s5h1411_attach, &pvr2_s5h1411_config,
  344. &adap->channel.hdw->i2c_adap);
  345. if (adap->fe)
  346. return 0;
  347. return -EIO;
  348. }
  349. static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap)
  350. {
  351. dvb_attach(tda829x_attach, adap->fe,
  352. &adap->channel.hdw->i2c_adap, 0x42,
  353. &tda829x_no_probe);
  354. dvb_attach(tda18271_attach, adap->fe, 0x60,
  355. &adap->channel.hdw->i2c_adap,
  356. &hauppauge_tda18271_config);
  357. return 0;
  358. }
  359. static const struct pvr2_dvb_props pvr2_750xx_dvb_props = {
  360. .frontend_attach = pvr2_s5h1409_attach,
  361. .tuner_attach = pvr2_tda18271_8295_attach,
  362. };
  363. static const struct pvr2_dvb_props pvr2_751xx_dvb_props = {
  364. .frontend_attach = pvr2_s5h1411_attach,
  365. .tuner_attach = pvr2_tda18271_8295_attach,
  366. };
  367. #endif
  368. static const char *pvr2_fw1_names_75xxx[] = {
  369. "v4l-pvrusb2-73xxx-01.fw",
  370. };
  371. static const struct pvr2_device_desc pvr2_device_750xx = {
  372. .description = "WinTV HVR-1950 Model 750xx",
  373. .shortname = "750xx",
  374. .client_table.lst = pvr2_cli_73xxx,
  375. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  376. .fx2_firmware.lst = pvr2_fw1_names_75xxx,
  377. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
  378. .flag_has_cx25840 = !0,
  379. .flag_has_hauppauge_rom = !0,
  380. .flag_has_analogtuner = !0,
  381. .flag_has_composite = !0,
  382. .flag_has_svideo = !0,
  383. .flag_fx2_16kb = !0,
  384. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  385. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  386. .default_std_mask = V4L2_STD_NTSC_M,
  387. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  388. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  389. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  390. .dvb_props = &pvr2_750xx_dvb_props,
  391. #endif
  392. };
  393. static const struct pvr2_device_desc pvr2_device_751xx = {
  394. .description = "WinTV HVR-1950 Model 751xx",
  395. .shortname = "751xx",
  396. .client_table.lst = pvr2_cli_73xxx,
  397. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  398. .fx2_firmware.lst = pvr2_fw1_names_75xxx,
  399. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
  400. .flag_has_cx25840 = !0,
  401. .flag_has_hauppauge_rom = !0,
  402. .flag_has_analogtuner = !0,
  403. .flag_has_composite = !0,
  404. .flag_has_svideo = !0,
  405. .flag_fx2_16kb = !0,
  406. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  407. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  408. .default_std_mask = V4L2_STD_NTSC_M,
  409. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  410. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  411. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  412. .dvb_props = &pvr2_751xx_dvb_props,
  413. #endif
  414. };
  415. /*------------------------------------------------------------------------*/
  416. struct usb_device_id pvr2_device_table[] = {
  417. { USB_DEVICE(0x2040, 0x2900),
  418. .driver_info = (kernel_ulong_t)&pvr2_device_29xxx},
  419. { USB_DEVICE(0x2040, 0x2950), /* Logically identical to 2900 */
  420. .driver_info = (kernel_ulong_t)&pvr2_device_29xxx},
  421. { USB_DEVICE(0x2040, 0x2400),
  422. .driver_info = (kernel_ulong_t)&pvr2_device_24xxx},
  423. { USB_DEVICE(0x1164, 0x0622),
  424. .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2},
  425. { USB_DEVICE(0x1164, 0x0602),
  426. .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2d},
  427. { USB_DEVICE(0x11ba, 0x1003),
  428. .driver_info = (kernel_ulong_t)&pvr2_device_onair_creator},
  429. { USB_DEVICE(0x11ba, 0x1001),
  430. .driver_info = (kernel_ulong_t)&pvr2_device_onair_usb2},
  431. { USB_DEVICE(0x2040, 0x7300),
  432. .driver_info = (kernel_ulong_t)&pvr2_device_73xxx},
  433. { USB_DEVICE(0x2040, 0x7500),
  434. .driver_info = (kernel_ulong_t)&pvr2_device_750xx},
  435. { USB_DEVICE(0x2040, 0x7501),
  436. .driver_info = (kernel_ulong_t)&pvr2_device_751xx},
  437. { }
  438. };
  439. MODULE_DEVICE_TABLE(usb, pvr2_device_table);
  440. /*
  441. Stuff for Emacs to see, in order to encourage consistent editing style:
  442. *** Local Variables: ***
  443. *** mode: c ***
  444. *** fill-column: 75 ***
  445. *** tab-width: 8 ***
  446. *** c-basic-offset: 8 ***
  447. *** End: ***
  448. */