fc0013.c 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. /*
  2. * Fitipower FC0013 tuner driver
  3. *
  4. * Copyright (C) 2012 Hans-Frieder Vogt <hfvogt@gmx.net>
  5. * partially based on driver code from Fitipower
  6. * Copyright (C) 2010 Fitipower Integrated Technology Inc
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. */
  19. #include "fc0013.h"
  20. #include "fc0013-priv.h"
  21. static int fc0013_writereg(struct fc0013_priv *priv, u8 reg, u8 val)
  22. {
  23. u8 buf[2] = {reg, val};
  24. struct i2c_msg msg = {
  25. .addr = priv->addr, .flags = 0, .buf = buf, .len = 2
  26. };
  27. if (i2c_transfer(priv->i2c, &msg, 1) != 1) {
  28. err("I2C write reg failed, reg: %02x, val: %02x", reg, val);
  29. return -EREMOTEIO;
  30. }
  31. return 0;
  32. }
  33. static int fc0013_readreg(struct fc0013_priv *priv, u8 reg, u8 *val)
  34. {
  35. struct i2c_msg msg[2] = {
  36. { .addr = priv->addr, .flags = 0, .buf = &reg, .len = 1 },
  37. { .addr = priv->addr, .flags = I2C_M_RD, .buf = val, .len = 1 },
  38. };
  39. if (i2c_transfer(priv->i2c, msg, 2) != 2) {
  40. err("I2C read reg failed, reg: %02x", reg);
  41. return -EREMOTEIO;
  42. }
  43. return 0;
  44. }
  45. static void fc0013_release(struct dvb_frontend *fe)
  46. {
  47. kfree(fe->tuner_priv);
  48. fe->tuner_priv = NULL;
  49. }
  50. static int fc0013_init(struct dvb_frontend *fe)
  51. {
  52. struct fc0013_priv *priv = fe->tuner_priv;
  53. int i, ret = 0;
  54. unsigned char reg[] = {
  55. 0x00, /* reg. 0x00: dummy */
  56. 0x09, /* reg. 0x01 */
  57. 0x16, /* reg. 0x02 */
  58. 0x00, /* reg. 0x03 */
  59. 0x00, /* reg. 0x04 */
  60. 0x17, /* reg. 0x05 */
  61. 0x02, /* reg. 0x06 */
  62. 0x0a, /* reg. 0x07: CHECK */
  63. 0xff, /* reg. 0x08: AGC Clock divide by 256, AGC gain 1/256,
  64. Loop Bw 1/8 */
  65. 0x6f, /* reg. 0x09: enable LoopThrough */
  66. 0xb8, /* reg. 0x0a: Disable LO Test Buffer */
  67. 0x82, /* reg. 0x0b: CHECK */
  68. 0xfc, /* reg. 0x0c: depending on AGC Up-Down mode, may need 0xf8 */
  69. 0x01, /* reg. 0x0d: AGC Not Forcing & LNA Forcing, may need 0x02 */
  70. 0x00, /* reg. 0x0e */
  71. 0x00, /* reg. 0x0f */
  72. 0x00, /* reg. 0x10 */
  73. 0x00, /* reg. 0x11 */
  74. 0x00, /* reg. 0x12 */
  75. 0x00, /* reg. 0x13 */
  76. 0x50, /* reg. 0x14: DVB-t High Gain, UHF.
  77. Middle Gain: 0x48, Low Gain: 0x40 */
  78. 0x01, /* reg. 0x15 */
  79. };
  80. switch (priv->xtal_freq) {
  81. case FC_XTAL_27_MHZ:
  82. case FC_XTAL_28_8_MHZ:
  83. reg[0x07] |= 0x20;
  84. break;
  85. case FC_XTAL_36_MHZ:
  86. default:
  87. break;
  88. }
  89. if (priv->dual_master)
  90. reg[0x0c] |= 0x02;
  91. if (fe->ops.i2c_gate_ctrl)
  92. fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */
  93. for (i = 1; i < sizeof(reg); i++) {
  94. ret = fc0013_writereg(priv, i, reg[i]);
  95. if (ret)
  96. break;
  97. }
  98. if (fe->ops.i2c_gate_ctrl)
  99. fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */
  100. if (ret)
  101. err("fc0013_writereg failed: %d", ret);
  102. return ret;
  103. }
  104. static int fc0013_sleep(struct dvb_frontend *fe)
  105. {
  106. /* nothing to do here */
  107. return 0;
  108. }
  109. int fc0013_rc_cal_add(struct dvb_frontend *fe, int rc_val)
  110. {
  111. struct fc0013_priv *priv = fe->tuner_priv;
  112. int ret;
  113. u8 rc_cal;
  114. int val;
  115. if (fe->ops.i2c_gate_ctrl)
  116. fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */
  117. /* push rc_cal value, get rc_cal value */
  118. ret = fc0013_writereg(priv, 0x10, 0x00);
  119. if (ret)
  120. goto error_out;
  121. /* get rc_cal value */
  122. ret = fc0013_readreg(priv, 0x10, &rc_cal);
  123. if (ret)
  124. goto error_out;
  125. rc_cal &= 0x0f;
  126. val = (int)rc_cal + rc_val;
  127. /* forcing rc_cal */
  128. ret = fc0013_writereg(priv, 0x0d, 0x11);
  129. if (ret)
  130. goto error_out;
  131. /* modify rc_cal value */
  132. if (val > 15)
  133. ret = fc0013_writereg(priv, 0x10, 0x0f);
  134. else if (val < 0)
  135. ret = fc0013_writereg(priv, 0x10, 0x00);
  136. else
  137. ret = fc0013_writereg(priv, 0x10, (u8)val);
  138. error_out:
  139. if (fe->ops.i2c_gate_ctrl)
  140. fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */
  141. return ret;
  142. }
  143. EXPORT_SYMBOL(fc0013_rc_cal_add);
  144. int fc0013_rc_cal_reset(struct dvb_frontend *fe)
  145. {
  146. struct fc0013_priv *priv = fe->tuner_priv;
  147. int ret;
  148. if (fe->ops.i2c_gate_ctrl)
  149. fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */
  150. ret = fc0013_writereg(priv, 0x0d, 0x01);
  151. if (!ret)
  152. ret = fc0013_writereg(priv, 0x10, 0x00);
  153. if (fe->ops.i2c_gate_ctrl)
  154. fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */
  155. return ret;
  156. }
  157. EXPORT_SYMBOL(fc0013_rc_cal_reset);
  158. static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq)
  159. {
  160. int ret;
  161. u8 tmp;
  162. ret = fc0013_readreg(priv, 0x1d, &tmp);
  163. if (ret)
  164. goto error_out;
  165. tmp &= 0xe3;
  166. if (freq <= 177500) { /* VHF Track: 7 */
  167. ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c);
  168. } else if (freq <= 184500) { /* VHF Track: 6 */
  169. ret = fc0013_writereg(priv, 0x1d, tmp | 0x18);
  170. } else if (freq <= 191500) { /* VHF Track: 5 */
  171. ret = fc0013_writereg(priv, 0x1d, tmp | 0x14);
  172. } else if (freq <= 198500) { /* VHF Track: 4 */
  173. ret = fc0013_writereg(priv, 0x1d, tmp | 0x10);
  174. } else if (freq <= 205500) { /* VHF Track: 3 */
  175. ret = fc0013_writereg(priv, 0x1d, tmp | 0x0c);
  176. } else if (freq <= 219500) { /* VHF Track: 2 */
  177. ret = fc0013_writereg(priv, 0x1d, tmp | 0x08);
  178. } else if (freq < 300000) { /* VHF Track: 1 */
  179. ret = fc0013_writereg(priv, 0x1d, tmp | 0x04);
  180. } else { /* UHF and GPS */
  181. ret = fc0013_writereg(priv, 0x1d, tmp | 0x1c);
  182. }
  183. error_out:
  184. return ret;
  185. }
  186. static int fc0013_set_params(struct dvb_frontend *fe)
  187. {
  188. struct fc0013_priv *priv = fe->tuner_priv;
  189. int i, ret = 0;
  190. struct dtv_frontend_properties *p = &fe->dtv_property_cache;
  191. u32 freq = p->frequency / 1000;
  192. u32 delsys = p->delivery_system;
  193. unsigned char reg[7], am, pm, multi, tmp;
  194. unsigned long f_vco;
  195. unsigned short xtal_freq_khz_2, xin, xdiv;
  196. bool vco_select = false;
  197. if (fe->callback) {
  198. ret = fe->callback(priv->i2c, DVB_FRONTEND_COMPONENT_TUNER,
  199. FC_FE_CALLBACK_VHF_ENABLE, (freq > 300000 ? 0 : 1));
  200. if (ret)
  201. goto exit;
  202. }
  203. switch (priv->xtal_freq) {
  204. case FC_XTAL_27_MHZ:
  205. xtal_freq_khz_2 = 27000 / 2;
  206. break;
  207. case FC_XTAL_36_MHZ:
  208. xtal_freq_khz_2 = 36000 / 2;
  209. break;
  210. case FC_XTAL_28_8_MHZ:
  211. default:
  212. xtal_freq_khz_2 = 28800 / 2;
  213. break;
  214. }
  215. if (fe->ops.i2c_gate_ctrl)
  216. fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */
  217. /* set VHF track */
  218. ret = fc0013_set_vhf_track(priv, freq);
  219. if (ret)
  220. goto exit;
  221. if (freq < 300000) {
  222. /* enable VHF filter */
  223. ret = fc0013_readreg(priv, 0x07, &tmp);
  224. if (ret)
  225. goto exit;
  226. ret = fc0013_writereg(priv, 0x07, tmp | 0x10);
  227. if (ret)
  228. goto exit;
  229. /* disable UHF & disable GPS */
  230. ret = fc0013_readreg(priv, 0x14, &tmp);
  231. if (ret)
  232. goto exit;
  233. ret = fc0013_writereg(priv, 0x14, tmp & 0x1f);
  234. if (ret)
  235. goto exit;
  236. } else if (freq <= 862000) {
  237. /* disable VHF filter */
  238. ret = fc0013_readreg(priv, 0x07, &tmp);
  239. if (ret)
  240. goto exit;
  241. ret = fc0013_writereg(priv, 0x07, tmp & 0xef);
  242. if (ret)
  243. goto exit;
  244. /* enable UHF & disable GPS */
  245. ret = fc0013_readreg(priv, 0x14, &tmp);
  246. if (ret)
  247. goto exit;
  248. ret = fc0013_writereg(priv, 0x14, (tmp & 0x1f) | 0x40);
  249. if (ret)
  250. goto exit;
  251. } else {
  252. /* disable VHF filter */
  253. ret = fc0013_readreg(priv, 0x07, &tmp);
  254. if (ret)
  255. goto exit;
  256. ret = fc0013_writereg(priv, 0x07, tmp & 0xef);
  257. if (ret)
  258. goto exit;
  259. /* disable UHF & enable GPS */
  260. ret = fc0013_readreg(priv, 0x14, &tmp);
  261. if (ret)
  262. goto exit;
  263. ret = fc0013_writereg(priv, 0x14, (tmp & 0x1f) | 0x20);
  264. if (ret)
  265. goto exit;
  266. }
  267. /* select frequency divider and the frequency of VCO */
  268. if (freq < 37084) { /* freq * 96 < 3560000 */
  269. multi = 96;
  270. reg[5] = 0x82;
  271. reg[6] = 0x00;
  272. } else if (freq < 55625) { /* freq * 64 < 3560000 */
  273. multi = 64;
  274. reg[5] = 0x02;
  275. reg[6] = 0x02;
  276. } else if (freq < 74167) { /* freq * 48 < 3560000 */
  277. multi = 48;
  278. reg[5] = 0x42;
  279. reg[6] = 0x00;
  280. } else if (freq < 111250) { /* freq * 32 < 3560000 */
  281. multi = 32;
  282. reg[5] = 0x82;
  283. reg[6] = 0x02;
  284. } else if (freq < 148334) { /* freq * 24 < 3560000 */
  285. multi = 24;
  286. reg[5] = 0x22;
  287. reg[6] = 0x00;
  288. } else if (freq < 222500) { /* freq * 16 < 3560000 */
  289. multi = 16;
  290. reg[5] = 0x42;
  291. reg[6] = 0x02;
  292. } else if (freq < 296667) { /* freq * 12 < 3560000 */
  293. multi = 12;
  294. reg[5] = 0x12;
  295. reg[6] = 0x00;
  296. } else if (freq < 445000) { /* freq * 8 < 3560000 */
  297. multi = 8;
  298. reg[5] = 0x22;
  299. reg[6] = 0x02;
  300. } else if (freq < 593334) { /* freq * 6 < 3560000 */
  301. multi = 6;
  302. reg[5] = 0x0a;
  303. reg[6] = 0x00;
  304. } else if (freq < 950000) { /* freq * 4 < 3800000 */
  305. multi = 4;
  306. reg[5] = 0x12;
  307. reg[6] = 0x02;
  308. } else {
  309. multi = 2;
  310. reg[5] = 0x0a;
  311. reg[6] = 0x02;
  312. }
  313. f_vco = freq * multi;
  314. if (f_vco >= 3060000) {
  315. reg[6] |= 0x08;
  316. vco_select = true;
  317. }
  318. if (freq >= 45000) {
  319. /* From divided value (XDIV) determined the FA and FP value */
  320. xdiv = (unsigned short)(f_vco / xtal_freq_khz_2);
  321. if ((f_vco - xdiv * xtal_freq_khz_2) >= (xtal_freq_khz_2 / 2))
  322. xdiv++;
  323. pm = (unsigned char)(xdiv / 8);
  324. am = (unsigned char)(xdiv - (8 * pm));
  325. if (am < 2) {
  326. reg[1] = am + 8;
  327. reg[2] = pm - 1;
  328. } else {
  329. reg[1] = am;
  330. reg[2] = pm;
  331. }
  332. } else {
  333. /* fix for frequency less than 45 MHz */
  334. reg[1] = 0x06;
  335. reg[2] = 0x11;
  336. }
  337. /* fix clock out */
  338. reg[6] |= 0x20;
  339. /* From VCO frequency determines the XIN ( fractional part of Delta
  340. Sigma PLL) and divided value (XDIV) */
  341. xin = (unsigned short)(f_vco - (f_vco / xtal_freq_khz_2) * xtal_freq_khz_2);
  342. xin = (xin << 15) / xtal_freq_khz_2;
  343. if (xin >= 16384)
  344. xin += 32768;
  345. reg[3] = xin >> 8;
  346. reg[4] = xin & 0xff;
  347. if (delsys == SYS_DVBT) {
  348. reg[6] &= 0x3f; /* bits 6 and 7 describe the bandwidth */
  349. switch (p->bandwidth_hz) {
  350. case 6000000:
  351. reg[6] |= 0x80;
  352. break;
  353. case 7000000:
  354. reg[6] |= 0x40;
  355. break;
  356. case 8000000:
  357. default:
  358. break;
  359. }
  360. } else {
  361. err("%s: modulation type not supported!", __func__);
  362. return -EINVAL;
  363. }
  364. /* modified for Realtek demod */
  365. reg[5] |= 0x07;
  366. for (i = 1; i <= 6; i++) {
  367. ret = fc0013_writereg(priv, i, reg[i]);
  368. if (ret)
  369. goto exit;
  370. }
  371. ret = fc0013_readreg(priv, 0x11, &tmp);
  372. if (ret)
  373. goto exit;
  374. if (multi == 64)
  375. ret = fc0013_writereg(priv, 0x11, tmp | 0x04);
  376. else
  377. ret = fc0013_writereg(priv, 0x11, tmp & 0xfb);
  378. if (ret)
  379. goto exit;
  380. /* VCO Calibration */
  381. ret = fc0013_writereg(priv, 0x0e, 0x80);
  382. if (!ret)
  383. ret = fc0013_writereg(priv, 0x0e, 0x00);
  384. /* VCO Re-Calibration if needed */
  385. if (!ret)
  386. ret = fc0013_writereg(priv, 0x0e, 0x00);
  387. if (!ret) {
  388. msleep(10);
  389. ret = fc0013_readreg(priv, 0x0e, &tmp);
  390. }
  391. if (ret)
  392. goto exit;
  393. /* vco selection */
  394. tmp &= 0x3f;
  395. if (vco_select) {
  396. if (tmp > 0x3c) {
  397. reg[6] &= ~0x08;
  398. ret = fc0013_writereg(priv, 0x06, reg[6]);
  399. if (!ret)
  400. ret = fc0013_writereg(priv, 0x0e, 0x80);
  401. if (!ret)
  402. ret = fc0013_writereg(priv, 0x0e, 0x00);
  403. }
  404. } else {
  405. if (tmp < 0x02) {
  406. reg[6] |= 0x08;
  407. ret = fc0013_writereg(priv, 0x06, reg[6]);
  408. if (!ret)
  409. ret = fc0013_writereg(priv, 0x0e, 0x80);
  410. if (!ret)
  411. ret = fc0013_writereg(priv, 0x0e, 0x00);
  412. }
  413. }
  414. priv->frequency = p->frequency;
  415. priv->bandwidth = p->bandwidth_hz;
  416. exit:
  417. if (fe->ops.i2c_gate_ctrl)
  418. fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */
  419. if (ret)
  420. warn("%s: failed: %d", __func__, ret);
  421. return ret;
  422. }
  423. static int fc0013_get_frequency(struct dvb_frontend *fe, u32 *frequency)
  424. {
  425. struct fc0013_priv *priv = fe->tuner_priv;
  426. *frequency = priv->frequency;
  427. return 0;
  428. }
  429. static int fc0013_get_if_frequency(struct dvb_frontend *fe, u32 *frequency)
  430. {
  431. /* always ? */
  432. *frequency = 0;
  433. return 0;
  434. }
  435. static int fc0013_get_bandwidth(struct dvb_frontend *fe, u32 *bandwidth)
  436. {
  437. struct fc0013_priv *priv = fe->tuner_priv;
  438. *bandwidth = priv->bandwidth;
  439. return 0;
  440. }
  441. #define INPUT_ADC_LEVEL -8
  442. static int fc0013_get_rf_strength(struct dvb_frontend *fe, u16 *strength)
  443. {
  444. struct fc0013_priv *priv = fe->tuner_priv;
  445. int ret;
  446. unsigned char tmp;
  447. int int_temp, lna_gain, int_lna, tot_agc_gain, power;
  448. static const int fc0013_lna_gain_table[] = {
  449. /* low gain */
  450. -63, -58, -99, -73,
  451. -63, -65, -54, -60,
  452. /* middle gain */
  453. 71, 70, 68, 67,
  454. 65, 63, 61, 58,
  455. /* high gain */
  456. 197, 191, 188, 186,
  457. 184, 182, 181, 179,
  458. };
  459. if (fe->ops.i2c_gate_ctrl)
  460. fe->ops.i2c_gate_ctrl(fe, 1); /* open I2C-gate */
  461. ret = fc0013_writereg(priv, 0x13, 0x00);
  462. if (ret)
  463. goto err;
  464. ret = fc0013_readreg(priv, 0x13, &tmp);
  465. if (ret)
  466. goto err;
  467. int_temp = tmp;
  468. ret = fc0013_readreg(priv, 0x14, &tmp);
  469. if (ret)
  470. goto err;
  471. lna_gain = tmp & 0x1f;
  472. if (fe->ops.i2c_gate_ctrl)
  473. fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */
  474. if (lna_gain < ARRAY_SIZE(fc0013_lna_gain_table)) {
  475. int_lna = fc0013_lna_gain_table[lna_gain];
  476. tot_agc_gain = (abs((int_temp >> 5) - 7) - 2 +
  477. (int_temp & 0x1f)) * 2;
  478. power = INPUT_ADC_LEVEL - tot_agc_gain - int_lna / 10;
  479. if (power >= 45)
  480. *strength = 255; /* 100% */
  481. else if (power < -95)
  482. *strength = 0;
  483. else
  484. *strength = (power + 95) * 255 / 140;
  485. *strength |= *strength << 8;
  486. } else {
  487. ret = -1;
  488. }
  489. goto exit;
  490. err:
  491. if (fe->ops.i2c_gate_ctrl)
  492. fe->ops.i2c_gate_ctrl(fe, 0); /* close I2C-gate */
  493. exit:
  494. if (ret)
  495. warn("%s: failed: %d", __func__, ret);
  496. return ret;
  497. }
  498. static const struct dvb_tuner_ops fc0013_tuner_ops = {
  499. .info = {
  500. .name = "Fitipower FC0013",
  501. .frequency_min_hz = 37 * MHz, /* estimate */
  502. .frequency_max_hz = 1680 * MHz, /* CHECK */
  503. },
  504. .release = fc0013_release,
  505. .init = fc0013_init,
  506. .sleep = fc0013_sleep,
  507. .set_params = fc0013_set_params,
  508. .get_frequency = fc0013_get_frequency,
  509. .get_if_frequency = fc0013_get_if_frequency,
  510. .get_bandwidth = fc0013_get_bandwidth,
  511. .get_rf_strength = fc0013_get_rf_strength,
  512. };
  513. struct dvb_frontend *fc0013_attach(struct dvb_frontend *fe,
  514. struct i2c_adapter *i2c, u8 i2c_address, int dual_master,
  515. enum fc001x_xtal_freq xtal_freq)
  516. {
  517. struct fc0013_priv *priv = NULL;
  518. priv = kzalloc(sizeof(struct fc0013_priv), GFP_KERNEL);
  519. if (priv == NULL)
  520. return NULL;
  521. priv->i2c = i2c;
  522. priv->dual_master = dual_master;
  523. priv->addr = i2c_address;
  524. priv->xtal_freq = xtal_freq;
  525. info("Fitipower FC0013 successfully attached.");
  526. fe->tuner_priv = priv;
  527. memcpy(&fe->ops.tuner_ops, &fc0013_tuner_ops,
  528. sizeof(struct dvb_tuner_ops));
  529. return fe;
  530. }
  531. EXPORT_SYMBOL(fc0013_attach);
  532. MODULE_DESCRIPTION("Fitipower FC0013 silicon tuner driver");
  533. MODULE_AUTHOR("Hans-Frieder Vogt <hfvogt@gmx.net>");
  534. MODULE_LICENSE("GPL");
  535. MODULE_VERSION("0.2");