source: scripts/patches/linux-2.6.11-rc4-enable_dvico_dvb.patch@ 3516324

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3516324 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 3.5 KB
  • drivers/media/video/cx88/cx88-cards.c

    diff -ru linux-2.6.11-rc4.clean/drivers/media/video/cx88/cx88-cards.c linux-2.6.11-rc4/drivers/media/video/cx88/cx88-cards.c
    old new  
    2727#include <linux/delay.h>
    2828
    2929#if defined(CONFIG_VIDEO_CX88_DVB) || defined(CONFIG_VIDEO_CX88_DVB_MODULE)
    30 # define WITH_DVB 1
     30/*
     31 * The Hauppauge and Conexant CX22702 based DVB-only cards enabled by this
     32 * are currently broken.
     33 *
     34 * # define WITH_DVB 1
     35 */
    3136#endif
    3237
    3338#include "cx88.h"
     
    840845                leadtek_eeprom(core,eeprom);
    841846                break;
    842847        case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1:
    843                 /* Tuner reset is hooked to  the tuner out of reset */
     848        case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS:
     849                /* GPIO0:0 is hooked to mt352 reset pin */
    844850                cx_set(MO_GP0_IO, 0x00000101);
    845851                cx_clear(MO_GP0_IO, 0x00000001);
    846852                msleep(1);
    847853                cx_set(MO_GP0_IO, 0x00000101);
    848854                break;
     855#if 0
    849856#ifdef WITH_DVB
    850857        case CX88_BOARD_HAUPPAUGE_DVB_T1:
    851858                if (0 == core->i2c_rc)
     
    858865                core->demod_addr = 0x43;
    859866                break;
    860867#endif
     868#else
     869        case CX88_BOARD_HAUPPAUGE_DVB_T1:
     870        case CX88_BOARD_CONEXANT_DVB_T1:
     871                printk(KERN_NOTICE "Hauppauge and Conexant DVB-T cards not supported "
     872                       "in this release\n");
     873                break;
     874#endif
    861875        }
    862876        if (cx88_boards[core->board].radio.type == CX88_RADIO)
    863877                core->has_radio = 1;
  • drivers/media/video/cx88/cx88-dvb.c

    diff -ru linux-2.6.11-rc4.clean/drivers/media/video/cx88/cx88-dvb.c linux-2.6.11-rc4/drivers/media/video/cx88/cx88-dvb.c
    old new  
    187187        switch (dev->core->board) {
    188188        case CX88_BOARD_HAUPPAUGE_DVB_T1:
    189189        case CX88_BOARD_CONEXANT_DVB_T1:
     190#if 0
    190191                dev->dvb.frontend = cx22702_create(&dev->core->i2c_adap,
    191192                                                   dev->core->pll_addr,
    192193                                                   dev->core->pll_type,
    193194                                                   dev->core->demod_addr);
     195#else
     196                printk(KERN_NOTICE "Hauppauge and Conexant DVB-T cards not supported "
     197                       "in this release\n");
     198#endif
    194199                break;
    195200        case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1:
    196201                dev->dvb.frontend = mt352_attach(&dvico_fusionhdtv_dvbt1,
     
    222227                sizeof(dev->dvb.frontend->ops->info.name));
    223228
    224229        /* register everything */
    225         return videobuf_dvb_register(&dev->dvb);
     230        return videobuf_dvb_register(&dev->dvb, THIS_MODULE, dev);
    226231}
    227232
    228233/* ----------------------------------------------------------- */
  • drivers/media/video/Kconfig

    diff -ru linux-2.6.11-rc4.clean/drivers/media/video/Kconfig linux-2.6.11-rc4/drivers/media/video/Kconfig
    old new  
    305305
    306306config VIDEO_CX88
    307307        tristate "Conexant 2388x (bt878 successor) support"
    308         depends on VIDEO_DEV && PCI && EXPERIMENTAL
     308        depends on VIDEO_DEV && PCI && I2C && EXPERIMENTAL
    309309        select I2C_ALGOBIT
    310310        select VIDEO_BTCX
    311311        select VIDEO_BUF
     
    319319
    320320config VIDEO_CX88_DVB
    321321        tristate "DVB Support for cx2388x based TV cards"
    322         depends on VIDEO_CX88 && DVB_CORE && BROKEN
     322        depends on VIDEO_CX88 && DVB_CORE
    323323        select VIDEO_BUF_DVB
     324        select DVB_MT352
    324325        ---help---
    325326          This adds support for DVB cards based on the
    326327          Connexant 2388x chip.
    327328
     329          As of this release only the DVICO DVB-T cards are supported.
     330
    328331config VIDEO_OVCAMCHIP
    329332        tristate "OmniVision Camera Chip support"
    330333        depends on VIDEO_DEV && I2C
Note: See TracBrowser for help on using the repository browser.