pvrusb2-devattr.c 15 KB

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