pvrusb2-devattr.c 15 KB

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