pvrusb2-devattr.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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 Category 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 Category 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 Category 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. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  294. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  295. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  296. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  297. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  298. .dvb_props = &pvr2_73xxx_dvb_props,
  299. #endif
  300. };
  301. /*------------------------------------------------------------------------*/
  302. /* Hauppauge PVR-USB2 Model 75xxx */
  303. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  304. static struct s5h1409_config pvr2_s5h1409_config = {
  305. .demod_address = 0x32 >> 1,
  306. .output_mode = S5H1409_PARALLEL_OUTPUT,
  307. .gpio = S5H1409_GPIO_OFF,
  308. .qam_if = 4000,
  309. .inversion = S5H1409_INVERSION_ON,
  310. .status_mode = S5H1409_DEMODLOCKING,
  311. };
  312. static struct s5h1411_config pvr2_s5h1411_config = {
  313. .output_mode = S5H1411_PARALLEL_OUTPUT,
  314. .gpio = S5H1411_GPIO_OFF,
  315. .vsb_if = S5H1411_IF_44000,
  316. .qam_if = S5H1411_IF_4000,
  317. .inversion = S5H1411_INVERSION_ON,
  318. .status_mode = S5H1411_DEMODLOCKING,
  319. };
  320. static struct tda18271_std_map hauppauge_tda18271_std_map = {
  321. .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
  322. .if_lvl = 6, .rfagc_top = 0x37, },
  323. .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
  324. .if_lvl = 6, .rfagc_top = 0x37, },
  325. };
  326. static struct tda18271_config hauppauge_tda18271_config = {
  327. .std_map = &hauppauge_tda18271_std_map,
  328. .gate = TDA18271_GATE_ANALOG,
  329. .output_opt = TDA18271_OUTPUT_LT_OFF,
  330. };
  331. static int pvr2_s5h1409_attach(struct pvr2_dvb_adapter *adap)
  332. {
  333. adap->fe = dvb_attach(s5h1409_attach, &pvr2_s5h1409_config,
  334. &adap->channel.hdw->i2c_adap);
  335. if (adap->fe)
  336. return 0;
  337. return -EIO;
  338. }
  339. static int pvr2_s5h1411_attach(struct pvr2_dvb_adapter *adap)
  340. {
  341. adap->fe = dvb_attach(s5h1411_attach, &pvr2_s5h1411_config,
  342. &adap->channel.hdw->i2c_adap);
  343. if (adap->fe)
  344. return 0;
  345. return -EIO;
  346. }
  347. static int pvr2_tda18271_8295_attach(struct pvr2_dvb_adapter *adap)
  348. {
  349. dvb_attach(tda829x_attach, adap->fe,
  350. &adap->channel.hdw->i2c_adap, 0x42,
  351. &tda829x_no_probe);
  352. dvb_attach(tda18271_attach, adap->fe, 0x60,
  353. &adap->channel.hdw->i2c_adap,
  354. &hauppauge_tda18271_config);
  355. return 0;
  356. }
  357. static const struct pvr2_dvb_props pvr2_750xx_dvb_props = {
  358. .frontend_attach = pvr2_s5h1409_attach,
  359. .tuner_attach = pvr2_tda18271_8295_attach,
  360. };
  361. static const struct pvr2_dvb_props pvr2_751xx_dvb_props = {
  362. .frontend_attach = pvr2_s5h1411_attach,
  363. .tuner_attach = pvr2_tda18271_8295_attach,
  364. };
  365. #endif
  366. static const char *pvr2_fw1_names_75xxx[] = {
  367. "v4l-pvrusb2-73xxx-01.fw",
  368. };
  369. static const struct pvr2_device_desc pvr2_device_750xx = {
  370. .description = "WinTV HVR-1950 Model Category 750xx",
  371. .shortname = "750xx",
  372. .client_table.lst = pvr2_cli_73xxx,
  373. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  374. .fx2_firmware.lst = pvr2_fw1_names_75xxx,
  375. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
  376. .flag_has_cx25840 = !0,
  377. .flag_has_hauppauge_rom = !0,
  378. .flag_has_analogtuner = !0,
  379. .flag_has_composite = !0,
  380. .flag_has_svideo = !0,
  381. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  382. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  383. .default_std_mask = V4L2_STD_NTSC_M,
  384. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  385. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  386. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  387. .dvb_props = &pvr2_750xx_dvb_props,
  388. #endif
  389. };
  390. static const struct pvr2_device_desc pvr2_device_751xx = {
  391. .description = "WinTV HVR-1950 Model Category 751xx",
  392. .shortname = "751xx",
  393. .client_table.lst = pvr2_cli_73xxx,
  394. .client_table.cnt = ARRAY_SIZE(pvr2_cli_73xxx),
  395. .fx2_firmware.lst = pvr2_fw1_names_75xxx,
  396. .fx2_firmware.cnt = ARRAY_SIZE(pvr2_fw1_names_75xxx),
  397. .flag_has_cx25840 = !0,
  398. .flag_has_hauppauge_rom = !0,
  399. .flag_has_analogtuner = !0,
  400. .flag_has_composite = !0,
  401. .flag_has_svideo = !0,
  402. .signal_routing_scheme = PVR2_ROUTING_SCHEME_HAUPPAUGE,
  403. .digital_control_scheme = PVR2_DIGITAL_SCHEME_HAUPPAUGE,
  404. .default_std_mask = V4L2_STD_NTSC_M,
  405. .led_scheme = PVR2_LED_SCHEME_HAUPPAUGE,
  406. .ir_scheme = PVR2_IR_SCHEME_ZILOG,
  407. #ifdef CONFIG_VIDEO_PVRUSB2_DVB
  408. .dvb_props = &pvr2_751xx_dvb_props,
  409. #endif
  410. };
  411. /*------------------------------------------------------------------------*/
  412. struct usb_device_id pvr2_device_table[] = {
  413. { USB_DEVICE(0x2040, 0x2900),
  414. .driver_info = (kernel_ulong_t)&pvr2_device_29xxx},
  415. { USB_DEVICE(0x2040, 0x2950), /* Logically identical to 2900 */
  416. .driver_info = (kernel_ulong_t)&pvr2_device_29xxx},
  417. { USB_DEVICE(0x2040, 0x2400),
  418. .driver_info = (kernel_ulong_t)&pvr2_device_24xxx},
  419. { USB_DEVICE(0x1164, 0x0622),
  420. .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2},
  421. { USB_DEVICE(0x1164, 0x0602),
  422. .driver_info = (kernel_ulong_t)&pvr2_device_gotview_2d},
  423. { USB_DEVICE(0x11ba, 0x1003),
  424. .driver_info = (kernel_ulong_t)&pvr2_device_onair_creator},
  425. { USB_DEVICE(0x11ba, 0x1001),
  426. .driver_info = (kernel_ulong_t)&pvr2_device_onair_usb2},
  427. { USB_DEVICE(0x2040, 0x7300),
  428. .driver_info = (kernel_ulong_t)&pvr2_device_73xxx},
  429. { USB_DEVICE(0x2040, 0x7500),
  430. .driver_info = (kernel_ulong_t)&pvr2_device_750xx},
  431. { USB_DEVICE(0x2040, 0x7501),
  432. .driver_info = (kernel_ulong_t)&pvr2_device_751xx},
  433. { }
  434. };
  435. MODULE_DEVICE_TABLE(usb, pvr2_device_table);
  436. /*
  437. Stuff for Emacs to see, in order to encourage consistent editing style:
  438. *** Local Variables: ***
  439. *** mode: c ***
  440. *** fill-column: 75 ***
  441. *** tab-width: 8 ***
  442. *** c-basic-offset: 8 ***
  443. *** End: ***
  444. */