stv0299.c (818b930bc15077fc00ff16bb22c5df1857f05afa) stv0299.c (ee45ddc1e03afc221afad273503b6c2fc0683008)
1/*
2 Driver for ST STV0299 demodulator
3
4 Copyright (C) 2001-2002 Convergence Integrated Media GmbH
5 <ralph@convergence.de>,
6 <holger@convergence.de>,
7 <js@convergence.de>
8

--- 406 unchanged lines hidden (view full) ---

415 lv_mask = 0x10;
416
417 cmd = cmd << 1;
418 if (debug_legacy_dish_switch)
419 printk ("%s switch command: 0x%04lx\n",__func__, cmd);
420
421 do_gettimeofday (&nexttime);
422 if (debug_legacy_dish_switch)
1/*
2 Driver for ST STV0299 demodulator
3
4 Copyright (C) 2001-2002 Convergence Integrated Media GmbH
5 <ralph@convergence.de>,
6 <holger@convergence.de>,
7 <js@convergence.de>
8

--- 406 unchanged lines hidden (view full) ---

415 lv_mask = 0x10;
416
417 cmd = cmd << 1;
418 if (debug_legacy_dish_switch)
419 printk ("%s switch command: 0x%04lx\n",__func__, cmd);
420
421 do_gettimeofday (&nexttime);
422 if (debug_legacy_dish_switch)
423 memcpy (&tv[0], &nexttime, sizeof (struct timeval));
423 tv[0] = nexttime;
424 stv0299_writeregI (state, 0x0c, reg0x0c | 0x50); /* set LNB to 18V */
425
426 dvb_frontend_sleep_until(&nexttime, 32000);
427
428 for (i=0; i<9; i++) {
429 if (debug_legacy_dish_switch)
430 do_gettimeofday (&tv[i+1]);
431 if((cmd & 0x01) != last) {

--- 331 unchanged lines hidden ---
424 stv0299_writeregI (state, 0x0c, reg0x0c | 0x50); /* set LNB to 18V */
425
426 dvb_frontend_sleep_until(&nexttime, 32000);
427
428 for (i=0; i<9; i++) {
429 if (debug_legacy_dish_switch)
430 do_gettimeofday (&tv[i+1]);
431 if((cmd & 0x01) != last) {

--- 331 unchanged lines hidden ---