ngene-cards.c 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559
  1. /*
  2. * ngene-cards.c: nGene PCIe bridge driver - card specific info
  3. *
  4. * Copyright (C) 2005-2007 Micronas
  5. *
  6. * Copyright (C) 2008-2009 Ralph Metzler <rjkm@metzlerbros.de>
  7. * Modifications for new nGene firmware,
  8. * support for EEPROM-copying,
  9. * support for new dual DVB-S2 card prototype
  10. *
  11. *
  12. * This program is free software; you can redistribute it and/or
  13. * modify it under the terms of the GNU General Public License
  14. * version 2 only, as published by the Free Software Foundation.
  15. *
  16. *
  17. * This program is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20. * GNU General Public License for more details.
  21. *
  22. *
  23. * You should have received a copy of the GNU General Public License
  24. * along with this program; if not, write to the Free Software
  25. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  26. * 02110-1301, USA
  27. * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
  28. */
  29. #include <linux/module.h>
  30. #include <linux/init.h>
  31. #include <linux/pci.h>
  32. #include <linux/pci_ids.h>
  33. #include "ngene.h"
  34. /* demods/tuners */
  35. #include "stv6110x.h"
  36. #include "stv090x.h"
  37. #include "lnbh24.h"
  38. #include "lgdt330x.h"
  39. #include "mt2131.h"
  40. #include "tda18271c2dd.h"
  41. #include "drxk.h"
  42. /****************************************************************************/
  43. /* Demod/tuner attachment ***************************************************/
  44. /****************************************************************************/
  45. static int tuner_attach_stv6110(struct ngene_channel *chan)
  46. {
  47. struct i2c_adapter *i2c;
  48. struct stv090x_config *feconf = (struct stv090x_config *)
  49. chan->dev->card_info->fe_config[chan->number];
  50. struct stv6110x_config *tunerconf = (struct stv6110x_config *)
  51. chan->dev->card_info->tuner_config[chan->number];
  52. struct stv6110x_devctl *ctl;
  53. /* tuner 1+2: i2c adapter #0, tuner 3+4: i2c adapter #1 */
  54. if (chan->number < 2)
  55. i2c = &chan->dev->channel[0].i2c_adapter;
  56. else
  57. i2c = &chan->dev->channel[1].i2c_adapter;
  58. ctl = dvb_attach(stv6110x_attach, chan->fe, tunerconf, i2c);
  59. if (ctl == NULL) {
  60. printk(KERN_ERR DEVICE_NAME ": No STV6110X found!\n");
  61. return -ENODEV;
  62. }
  63. feconf->tuner_init = ctl->tuner_init;
  64. feconf->tuner_sleep = ctl->tuner_sleep;
  65. feconf->tuner_set_mode = ctl->tuner_set_mode;
  66. feconf->tuner_set_frequency = ctl->tuner_set_frequency;
  67. feconf->tuner_get_frequency = ctl->tuner_get_frequency;
  68. feconf->tuner_set_bandwidth = ctl->tuner_set_bandwidth;
  69. feconf->tuner_get_bandwidth = ctl->tuner_get_bandwidth;
  70. feconf->tuner_set_bbgain = ctl->tuner_set_bbgain;
  71. feconf->tuner_get_bbgain = ctl->tuner_get_bbgain;
  72. feconf->tuner_set_refclk = ctl->tuner_set_refclk;
  73. feconf->tuner_get_status = ctl->tuner_get_status;
  74. return 0;
  75. }
  76. static int drxk_gate_ctrl(struct dvb_frontend *fe, int enable)
  77. {
  78. struct ngene_channel *chan = fe->sec_priv;
  79. int status;
  80. if (enable) {
  81. down(&chan->dev->pll_mutex);
  82. status = chan->gate_ctrl(fe, 1);
  83. } else {
  84. status = chan->gate_ctrl(fe, 0);
  85. up(&chan->dev->pll_mutex);
  86. }
  87. return status;
  88. }
  89. static int tuner_attach_tda18271(struct ngene_channel *chan)
  90. {
  91. struct i2c_adapter *i2c;
  92. struct dvb_frontend *fe;
  93. i2c = &chan->dev->channel[0].i2c_adapter;
  94. if (chan->fe->ops.i2c_gate_ctrl)
  95. chan->fe->ops.i2c_gate_ctrl(chan->fe, 1);
  96. fe = dvb_attach(tda18271c2dd_attach, chan->fe, i2c, 0x60);
  97. if (chan->fe->ops.i2c_gate_ctrl)
  98. chan->fe->ops.i2c_gate_ctrl(chan->fe, 0);
  99. if (!fe) {
  100. printk(KERN_ERR "No TDA18271 found!\n");
  101. return -ENODEV;
  102. }
  103. return 0;
  104. }
  105. static int tuner_attach_probe(struct ngene_channel *chan)
  106. {
  107. if (chan->demod_type == 0)
  108. return tuner_attach_stv6110(chan);
  109. if (chan->demod_type == 1)
  110. return tuner_attach_tda18271(chan);
  111. return -EINVAL;
  112. }
  113. static int demod_attach_stv0900(struct ngene_channel *chan)
  114. {
  115. struct i2c_adapter *i2c;
  116. struct stv090x_config *feconf = (struct stv090x_config *)
  117. chan->dev->card_info->fe_config[chan->number];
  118. /* tuner 1+2: i2c adapter #0, tuner 3+4: i2c adapter #1 */
  119. /* Note: Both adapters share the same i2c bus, but the demod */
  120. /* driver requires that each demod has its own i2c adapter */
  121. if (chan->number < 2)
  122. i2c = &chan->dev->channel[0].i2c_adapter;
  123. else
  124. i2c = &chan->dev->channel[1].i2c_adapter;
  125. chan->fe = dvb_attach(stv090x_attach, feconf, i2c,
  126. (chan->number & 1) == 0 ? STV090x_DEMODULATOR_0
  127. : STV090x_DEMODULATOR_1);
  128. if (chan->fe == NULL) {
  129. printk(KERN_ERR DEVICE_NAME ": No STV0900 found!\n");
  130. return -ENODEV;
  131. }
  132. /* store channel info */
  133. if (feconf->tuner_i2c_lock)
  134. chan->fe->analog_demod_priv = chan;
  135. if (!dvb_attach(lnbh24_attach, chan->fe, i2c, 0,
  136. 0, chan->dev->card_info->lnb[chan->number])) {
  137. printk(KERN_ERR DEVICE_NAME ": No LNBH24 found!\n");
  138. dvb_frontend_detach(chan->fe);
  139. chan->fe = NULL;
  140. return -ENODEV;
  141. }
  142. return 0;
  143. }
  144. static void cineS2_tuner_i2c_lock(struct dvb_frontend *fe, int lock)
  145. {
  146. struct ngene_channel *chan = fe->analog_demod_priv;
  147. if (lock)
  148. down(&chan->dev->pll_mutex);
  149. else
  150. up(&chan->dev->pll_mutex);
  151. }
  152. static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val)
  153. {
  154. struct i2c_msg msgs[1] = {{.addr = adr, .flags = I2C_M_RD,
  155. .buf = val, .len = 1 } };
  156. return (i2c_transfer(adapter, msgs, 1) == 1) ? 0 : -1;
  157. }
  158. static int i2c_read_reg16(struct i2c_adapter *adapter, u8 adr,
  159. u16 reg, u8 *val)
  160. {
  161. u8 msg[2] = {reg>>8, reg&0xff};
  162. struct i2c_msg msgs[2] = {{.addr = adr, .flags = 0,
  163. .buf = msg, .len = 2},
  164. {.addr = adr, .flags = I2C_M_RD,
  165. .buf = val, .len = 1} };
  166. return (i2c_transfer(adapter, msgs, 2) == 2) ? 0 : -1;
  167. }
  168. static int port_has_stv0900(struct i2c_adapter *i2c, int port)
  169. {
  170. u8 val;
  171. if (i2c_read_reg16(i2c, 0x68+port/2, 0xf100, &val) < 0)
  172. return 0;
  173. return 1;
  174. }
  175. static int port_has_drxk(struct i2c_adapter *i2c, int port)
  176. {
  177. u8 val;
  178. if (i2c_read(i2c, 0x29+port, &val) < 0)
  179. return 0;
  180. return 1;
  181. }
  182. static int demod_attach_drxk(struct ngene_channel *chan,
  183. struct i2c_adapter *i2c)
  184. {
  185. struct drxk_config config;
  186. memset(&config, 0, sizeof(config));
  187. config.microcode_name = "drxk_a3.mc";
  188. config.adr = 0x29 + (chan->number ^ 2);
  189. chan->fe = dvb_attach(drxk_attach, &config, i2c);
  190. if (!chan->fe) {
  191. printk(KERN_ERR "No DRXK found!\n");
  192. return -ENODEV;
  193. }
  194. chan->fe->sec_priv = chan;
  195. chan->gate_ctrl = chan->fe->ops.i2c_gate_ctrl;
  196. chan->fe->ops.i2c_gate_ctrl = drxk_gate_ctrl;
  197. return 0;
  198. }
  199. static int cineS2_probe(struct ngene_channel *chan)
  200. {
  201. struct i2c_adapter *i2c;
  202. struct stv090x_config *fe_conf;
  203. u8 buf[3];
  204. struct i2c_msg i2c_msg = { .flags = 0, .buf = buf };
  205. int rc;
  206. /* tuner 1+2: i2c adapter #0, tuner 3+4: i2c adapter #1 */
  207. if (chan->number < 2)
  208. i2c = &chan->dev->channel[0].i2c_adapter;
  209. else
  210. i2c = &chan->dev->channel[1].i2c_adapter;
  211. if (port_has_stv0900(i2c, chan->number)) {
  212. chan->demod_type = 0;
  213. fe_conf = chan->dev->card_info->fe_config[chan->number];
  214. /* demod found, attach it */
  215. rc = demod_attach_stv0900(chan);
  216. if (rc < 0 || chan->number < 2)
  217. return rc;
  218. /* demod #2: reprogram outputs DPN1 & DPN2 */
  219. i2c_msg.addr = fe_conf->address;
  220. i2c_msg.len = 3;
  221. buf[0] = 0xf1;
  222. switch (chan->number) {
  223. case 2:
  224. buf[1] = 0x5c;
  225. buf[2] = 0xc2;
  226. break;
  227. case 3:
  228. buf[1] = 0x61;
  229. buf[2] = 0xcc;
  230. break;
  231. default:
  232. return -ENODEV;
  233. }
  234. rc = i2c_transfer(i2c, &i2c_msg, 1);
  235. if (rc != 1) {
  236. printk(KERN_ERR DEVICE_NAME ": could not setup DPNx\n");
  237. return -EIO;
  238. }
  239. } else if (port_has_drxk(i2c, chan->number^2)) {
  240. chan->demod_type = 1;
  241. demod_attach_drxk(chan, i2c);
  242. } else {
  243. printk(KERN_ERR "No demod found on chan %d\n", chan->number);
  244. return -ENODEV;
  245. }
  246. return 0;
  247. }
  248. static struct lgdt330x_config aver_m780 = {
  249. .demod_address = 0xb2 >> 1,
  250. .demod_chip = LGDT3303,
  251. .serial_mpeg = 0x00, /* PARALLEL */
  252. .clock_polarity_flip = 1,
  253. };
  254. static struct mt2131_config m780_tunerconfig = {
  255. 0xc0 >> 1
  256. };
  257. /* A single func to attach the demo and tuner, rather than
  258. * use two sep funcs like the current design mandates.
  259. */
  260. static int demod_attach_lg330x(struct ngene_channel *chan)
  261. {
  262. chan->fe = dvb_attach(lgdt330x_attach, &aver_m780, &chan->i2c_adapter);
  263. if (chan->fe == NULL) {
  264. printk(KERN_ERR DEVICE_NAME ": No LGDT330x found!\n");
  265. return -ENODEV;
  266. }
  267. dvb_attach(mt2131_attach, chan->fe, &chan->i2c_adapter,
  268. &m780_tunerconfig, 0);
  269. return (chan->fe) ? 0 : -ENODEV;
  270. }
  271. /****************************************************************************/
  272. /* Switch control (I2C gates, etc.) *****************************************/
  273. /****************************************************************************/
  274. static struct stv090x_config fe_cineS2 = {
  275. .device = STV0900,
  276. .demod_mode = STV090x_DUAL,
  277. .clk_mode = STV090x_CLK_EXT,
  278. .xtal = 27000000,
  279. .address = 0x68,
  280. .ts1_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
  281. .ts2_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
  282. .repeater_level = STV090x_RPTLEVEL_16,
  283. .adc1_range = STV090x_ADC_1Vpp,
  284. .adc2_range = STV090x_ADC_1Vpp,
  285. .diseqc_envelope_mode = true,
  286. .tuner_i2c_lock = cineS2_tuner_i2c_lock,
  287. };
  288. static struct stv090x_config fe_cineS2_2 = {
  289. .device = STV0900,
  290. .demod_mode = STV090x_DUAL,
  291. .clk_mode = STV090x_CLK_EXT,
  292. .xtal = 27000000,
  293. .address = 0x69,
  294. .ts1_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
  295. .ts2_mode = STV090x_TSMODE_SERIAL_PUNCTURED,
  296. .repeater_level = STV090x_RPTLEVEL_16,
  297. .adc1_range = STV090x_ADC_1Vpp,
  298. .adc2_range = STV090x_ADC_1Vpp,
  299. .diseqc_envelope_mode = true,
  300. .tuner_i2c_lock = cineS2_tuner_i2c_lock,
  301. };
  302. static struct stv6110x_config tuner_cineS2_0 = {
  303. .addr = 0x60,
  304. .refclk = 27000000,
  305. .clk_div = 1,
  306. };
  307. static struct stv6110x_config tuner_cineS2_1 = {
  308. .addr = 0x63,
  309. .refclk = 27000000,
  310. .clk_div = 1,
  311. };
  312. static struct ngene_info ngene_info_cineS2 = {
  313. .type = NGENE_SIDEWINDER,
  314. .name = "Linux4Media cineS2 DVB-S2 Twin Tuner",
  315. .io_type = {NGENE_IO_TSIN, NGENE_IO_TSIN},
  316. .demod_attach = {demod_attach_stv0900, demod_attach_stv0900},
  317. .tuner_attach = {tuner_attach_stv6110, tuner_attach_stv6110},
  318. .fe_config = {&fe_cineS2, &fe_cineS2},
  319. .tuner_config = {&tuner_cineS2_0, &tuner_cineS2_1},
  320. .lnb = {0x0b, 0x08},
  321. .tsf = {3, 3},
  322. .fw_version = 18,
  323. .msi_supported = true,
  324. };
  325. static struct ngene_info ngene_info_satixS2 = {
  326. .type = NGENE_SIDEWINDER,
  327. .name = "Mystique SaTiX-S2 Dual",
  328. .io_type = {NGENE_IO_TSIN, NGENE_IO_TSIN},
  329. .demod_attach = {demod_attach_stv0900, demod_attach_stv0900},
  330. .tuner_attach = {tuner_attach_stv6110, tuner_attach_stv6110},
  331. .fe_config = {&fe_cineS2, &fe_cineS2},
  332. .tuner_config = {&tuner_cineS2_0, &tuner_cineS2_1},
  333. .lnb = {0x0b, 0x08},
  334. .tsf = {3, 3},
  335. .fw_version = 18,
  336. .msi_supported = true,
  337. };
  338. static struct ngene_info ngene_info_satixS2v2 = {
  339. .type = NGENE_SIDEWINDER,
  340. .name = "Mystique SaTiX-S2 Dual (v2)",
  341. .io_type = {NGENE_IO_TSIN, NGENE_IO_TSIN, NGENE_IO_TSIN, NGENE_IO_TSIN,
  342. NGENE_IO_TSOUT},
  343. .demod_attach = {demod_attach_stv0900, demod_attach_stv0900, cineS2_probe, cineS2_probe},
  344. .tuner_attach = {tuner_attach_stv6110, tuner_attach_stv6110, tuner_attach_probe, tuner_attach_probe},
  345. .fe_config = {&fe_cineS2, &fe_cineS2, &fe_cineS2_2, &fe_cineS2_2},
  346. .tuner_config = {&tuner_cineS2_0, &tuner_cineS2_1, &tuner_cineS2_0, &tuner_cineS2_1},
  347. .lnb = {0x0a, 0x08, 0x0b, 0x09},
  348. .tsf = {3, 3},
  349. .fw_version = 18,
  350. .msi_supported = true,
  351. };
  352. static struct ngene_info ngene_info_cineS2v5 = {
  353. .type = NGENE_SIDEWINDER,
  354. .name = "Linux4Media cineS2 DVB-S2 Twin Tuner (v5)",
  355. .io_type = {NGENE_IO_TSIN, NGENE_IO_TSIN, NGENE_IO_TSIN, NGENE_IO_TSIN,
  356. NGENE_IO_TSOUT},
  357. .demod_attach = {demod_attach_stv0900, demod_attach_stv0900, cineS2_probe, cineS2_probe},
  358. .tuner_attach = {tuner_attach_stv6110, tuner_attach_stv6110, tuner_attach_probe, tuner_attach_probe},
  359. .fe_config = {&fe_cineS2, &fe_cineS2, &fe_cineS2_2, &fe_cineS2_2},
  360. .tuner_config = {&tuner_cineS2_0, &tuner_cineS2_1, &tuner_cineS2_0, &tuner_cineS2_1},
  361. .lnb = {0x0a, 0x08, 0x0b, 0x09},
  362. .tsf = {3, 3},
  363. .fw_version = 18,
  364. .msi_supported = true,
  365. };
  366. static struct ngene_info ngene_info_duoFlex = {
  367. .type = NGENE_SIDEWINDER,
  368. .name = "Digital Devices DuoFlex PCIe or miniPCIe",
  369. .io_type = {NGENE_IO_TSIN, NGENE_IO_TSIN, NGENE_IO_TSIN, NGENE_IO_TSIN,
  370. NGENE_IO_TSOUT},
  371. .demod_attach = {cineS2_probe, cineS2_probe, cineS2_probe, cineS2_probe},
  372. .tuner_attach = {tuner_attach_probe, tuner_attach_probe, tuner_attach_probe, tuner_attach_probe},
  373. .fe_config = {&fe_cineS2, &fe_cineS2, &fe_cineS2_2, &fe_cineS2_2},
  374. .tuner_config = {&tuner_cineS2_0, &tuner_cineS2_1, &tuner_cineS2_0, &tuner_cineS2_1},
  375. .lnb = {0x0a, 0x08, 0x0b, 0x09},
  376. .tsf = {3, 3},
  377. .fw_version = 18,
  378. .msi_supported = true,
  379. };
  380. static struct ngene_info ngene_info_m780 = {
  381. .type = NGENE_APP,
  382. .name = "Aver M780 ATSC/QAM-B",
  383. /* Channel 0 is analog, which is currently unsupported */
  384. .io_type = { NGENE_IO_NONE, NGENE_IO_TSIN },
  385. .demod_attach = { NULL, demod_attach_lg330x },
  386. /* Ensure these are NULL else the frame will call them (as funcs) */
  387. .tuner_attach = { 0, 0, 0, 0 },
  388. .fe_config = { NULL, &aver_m780 },
  389. .avf = { 0 },
  390. /* A custom electrical interface config for the demod to bridge */
  391. .tsf = { 4, 4 },
  392. .fw_version = 15,
  393. };
  394. /****************************************************************************/
  395. /****************************************************************************/
  396. /* PCI Subsystem ID *********************************************************/
  397. /****************************************************************************/
  398. #define NGENE_ID(_subvend, _subdev, _driverdata) { \
  399. .vendor = NGENE_VID, .device = NGENE_PID, \
  400. .subvendor = _subvend, .subdevice = _subdev, \
  401. .driver_data = (unsigned long) &_driverdata }
  402. /****************************************************************************/
  403. static const struct pci_device_id ngene_id_tbl[] __devinitdata = {
  404. NGENE_ID(0x18c3, 0xabc3, ngene_info_cineS2),
  405. NGENE_ID(0x18c3, 0xabc4, ngene_info_cineS2),
  406. NGENE_ID(0x18c3, 0xdb01, ngene_info_satixS2),
  407. NGENE_ID(0x18c3, 0xdb02, ngene_info_satixS2v2),
  408. NGENE_ID(0x18c3, 0xdd00, ngene_info_cineS2v5),
  409. NGENE_ID(0x18c3, 0xdd10, ngene_info_duoFlex),
  410. NGENE_ID(0x18c3, 0xdd20, ngene_info_duoFlex),
  411. NGENE_ID(0x1461, 0x062e, ngene_info_m780),
  412. {0}
  413. };
  414. MODULE_DEVICE_TABLE(pci, ngene_id_tbl);
  415. /****************************************************************************/
  416. /* Init/Exit ****************************************************************/
  417. /****************************************************************************/
  418. static pci_ers_result_t ngene_error_detected(struct pci_dev *dev,
  419. enum pci_channel_state state)
  420. {
  421. printk(KERN_ERR DEVICE_NAME ": PCI error\n");
  422. if (state == pci_channel_io_perm_failure)
  423. return PCI_ERS_RESULT_DISCONNECT;
  424. if (state == pci_channel_io_frozen)
  425. return PCI_ERS_RESULT_NEED_RESET;
  426. return PCI_ERS_RESULT_CAN_RECOVER;
  427. }
  428. static pci_ers_result_t ngene_link_reset(struct pci_dev *dev)
  429. {
  430. printk(KERN_INFO DEVICE_NAME ": link reset\n");
  431. return 0;
  432. }
  433. static pci_ers_result_t ngene_slot_reset(struct pci_dev *dev)
  434. {
  435. printk(KERN_INFO DEVICE_NAME ": slot reset\n");
  436. return 0;
  437. }
  438. static void ngene_resume(struct pci_dev *dev)
  439. {
  440. printk(KERN_INFO DEVICE_NAME ": resume\n");
  441. }
  442. static struct pci_error_handlers ngene_errors = {
  443. .error_detected = ngene_error_detected,
  444. .link_reset = ngene_link_reset,
  445. .slot_reset = ngene_slot_reset,
  446. .resume = ngene_resume,
  447. };
  448. static struct pci_driver ngene_pci_driver = {
  449. .name = "ngene",
  450. .id_table = ngene_id_tbl,
  451. .probe = ngene_probe,
  452. .remove = __devexit_p(ngene_remove),
  453. .err_handler = &ngene_errors,
  454. .shutdown = ngene_shutdown,
  455. };
  456. static __init int module_init_ngene(void)
  457. {
  458. printk(KERN_INFO
  459. "nGene PCIE bridge driver, Copyright (C) 2005-2007 Micronas\n");
  460. return pci_register_driver(&ngene_pci_driver);
  461. }
  462. static __exit void module_exit_ngene(void)
  463. {
  464. pci_unregister_driver(&ngene_pci_driver);
  465. }
  466. module_init(module_init_ngene);
  467. module_exit(module_exit_ngene);
  468. MODULE_DESCRIPTION("nGene");
  469. MODULE_AUTHOR("Micronas, Ralph Metzler, Manfred Voelkel");
  470. MODULE_LICENSE("GPL");