source:
scripts/patches/linux-2.6.11-rc4-enable_dvico_dvb.patch@
42da714
Last change on this file since 42da714 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
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 27 27 #include <linux/delay.h> 28 28 29 29 #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 */ 31 36 #endif 32 37 33 38 #include "cx88.h" … … 840 845 leadtek_eeprom(core,eeprom); 841 846 break; 842 847 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 */ 844 850 cx_set(MO_GP0_IO, 0x00000101); 845 851 cx_clear(MO_GP0_IO, 0x00000001); 846 852 msleep(1); 847 853 cx_set(MO_GP0_IO, 0x00000101); 848 854 break; 855 #if 0 849 856 #ifdef WITH_DVB 850 857 case CX88_BOARD_HAUPPAUGE_DVB_T1: 851 858 if (0 == core->i2c_rc) … … 858 865 core->demod_addr = 0x43; 859 866 break; 860 867 #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 861 875 } 862 876 if (cx88_boards[core->board].radio.type == CX88_RADIO) 863 877 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 187 187 switch (dev->core->board) { 188 188 case CX88_BOARD_HAUPPAUGE_DVB_T1: 189 189 case CX88_BOARD_CONEXANT_DVB_T1: 190 #if 0 190 191 dev->dvb.frontend = cx22702_create(&dev->core->i2c_adap, 191 192 dev->core->pll_addr, 192 193 dev->core->pll_type, 193 194 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 194 199 break; 195 200 case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1: 196 201 dev->dvb.frontend = mt352_attach(&dvico_fusionhdtv_dvbt1, … … 222 227 sizeof(dev->dvb.frontend->ops->info.name)); 223 228 224 229 /* register everything */ 225 return videobuf_dvb_register(&dev->dvb );230 return videobuf_dvb_register(&dev->dvb, THIS_MODULE, dev); 226 231 } 227 232 228 233 /* ----------------------------------------------------------- */ -
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 305 305 306 306 config VIDEO_CX88 307 307 tristate "Conexant 2388x (bt878 successor) support" 308 depends on VIDEO_DEV && PCI && EXPERIMENTAL308 depends on VIDEO_DEV && PCI && I2C && EXPERIMENTAL 309 309 select I2C_ALGOBIT 310 310 select VIDEO_BTCX 311 311 select VIDEO_BUF … … 319 319 320 320 config VIDEO_CX88_DVB 321 321 tristate "DVB Support for cx2388x based TV cards" 322 depends on VIDEO_CX88 && DVB_CORE && BROKEN322 depends on VIDEO_CX88 && DVB_CORE 323 323 select VIDEO_BUF_DVB 324 select DVB_MT352 324 325 ---help--- 325 326 This adds support for DVB cards based on the 326 327 Connexant 2388x chip. 327 328 329 As of this release only the DVICO DVB-T cards are supported. 330 328 331 config VIDEO_OVCAMCHIP 329 332 tristate "OmniVision Camera Chip support" 330 333 depends on VIDEO_DEV && I2C
Note:
See TracBrowser
for help on using the repository browser.