summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/Makefile
AgeCommit message (Collapse)Author
2009-01-06cx88: Fix some Kbuild troublesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> As Randy Dunlap <randy.dunlap@oracle.com> reported, cx88 has some compilation issues: drivers/built-in.o: In function `cx88_call_i2c_clients': (.text+0x20af17): undefined reference to `videobuf_dvb_get_frontend' drivers/built-in.o: In function `cx8802_probe': cx88-mpeg.c:(.devinit.text+0x268c4): undefined reference to `videobuf_dvb_alloc_frontend' cx88-mpeg.c:(.devinit.text+0x268ea): undefined reference to `videobuf_dvb_dealloc_frontends' With those configs: CONFIG_VIDEO_CX88=y CONFIG_VIDEO_CX88_BLACKBIRD=y CONFIG_VIDEO_CX88_DVB=m CONFIG_DVB_CORE=m After carefully examining the code, with the current code, several cx88 drivers (cx8800, cx8802, cx88_dvb and cx88_blackbird) should be compiled as a module, if one of them is marked as such. Just fixing Kconfig could create a very complex set of rules. Also, this hides a problem with the current approach where the dvb functionality weren't confined inside dvb module. What happens is that: - cx88-i2c (part of cx8800) has some special rules if DVB; - cx88-mpeg (cx8802 module) has also part of DVB init code; - cx88-dvb has the rest of the dvb code; - cx88-blackbird can be used with cx88-mpeg, having cx88-dvb or not. So, instead of doing some tricks at Kconfig and wait for a next breakage, this patch moves the dvb code inside cx88-i2c and cx88-mpeg into cx88-dvb. Another problem is that cx8802 were being compiled, even without cx88-dvb and cx88-blackbird modules. While on this code, let's fix also a reported problem: http://www.linuxtv.org/pipermail/linux-dvb/2009-January/031225.html A solution for the issue were proposed here: http://www.mail-archive.com/linux-media@vger.kernel.org/msg00021.html Thanks to Randy, Andy, Gregoire and Thomas for helping us to detect and solve the issues. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-04-26From: Mauro Carvalho Chehab <mchehab@infradead.org>Mauro Carvalho Chehab
Move tuners to common/tuners There were several issues in the past, caused by the hybrid tuner design, since now, the same tuner can be used by drivers/media/dvb and drivers/media/video. This patch moves those common tuners into a common dir. It also moves saa7146 driver into drivers/media/video, where other hybrid drivers are placed. Kconfig items were rearranged, to split V4L/DVB core from their drivers. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-30Remove obsolete alias defines of CONFIG_* settingsTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> The out of tree v4l-dvb build system didn't always override the kernel's configuration settings with v4l-dvb's settings correctly. To work around this, makefiles would define some new macro based on the setting of a config variable. e.g. the pwc Makefile would define CONFIG_PWC_DEBUG if CONFIG_USB_PWC_DEBUG (which is defined via Kconfig) was set. The v4l-dvb build system should now always override correctly, and this is no longer necessary. This patch gets ride of these extra defines and just uses the CONFIG_* settings directly. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
2006-07-28Remove frontend selection from cx88/saa7134 driversAndrew de Quincey
From: Andrew de Quincey <adq_dvb@lidskialf.net> Replaced with dvb_attach() Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
2006-06-24make VIDEO_CX88_BLACKBIRD a separate build optionMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch creates a new Kconfig menu option, entitled, "Blackbird MPEG encoder support (cx2388x + cx23416)" so that the cx88-blackbird mpeg encoder module can be chosen separately. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-04kbuild: fix unneeded rebuilds in drivers/media/video after moving source treeMichael Krufky
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Date: Mon, 3 Apr 2006 22:35:36 +0000 (+0200) Subject: kbuild: fix unneeded rebuilds in drivers/media/video after moving source tree X-Git-Url: http://kernel.org/git/?p=linux/kernel/git/sam/kbuild-bugfix.git;a=commitdiff;h=8036dc6bdca0faa981be01377728678a6f6f3fde kbuild: fix unneeded rebuilds in drivers/media/video after moving source tree This fixes some uneeded rebuilds under drivers/media/video after moving the source tree. The makefiles used $(src) and $(srctree) for include paths, which is unnecessary. Changed to use relative paths. Compile tested, produces byte-identical code to the previous makefiles. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-02-28DViCO FusionHDTV DVB-T Hybrid and ZL10353-based FusionHDTV DVB-T Plus supportChris Pascoe
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Add support for the FE6600 tuner used on the DVB-T Hybrid board. Add support for the Zarlink ZL10353 DVB-T demodulator, which supersedes the MT352, used on the DViCO FusionHDTV DVB-T Hybrid and later model Plus boards. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-24bug-fixMichael Krufky
bug-fix: allow tristate build for cx88-vp3054-i2c - allow tristate build for cx88-vp3054-i2c Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2006-01-21make VP-3054 Secondary I2C Bus Support a Kconfig option.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net> cc: Chris Pascoe <c.pascoe@itee.uq.edu.au>
2006-01-12Build cx88-alsa when CONFIG_VIDEO_CX88_ALSA is selected.Michael Krufky
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-12-23Add support for VP-3054 HDTV boardMauro Carvalho Chehab
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> - Added support for VP-3054 (aka DigitalNow DNTV Live! DVB-T Pro!). - This board has a secondary I2C bus and remote control. - Added a new module to handle secondary I2C bus on this board. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-26kernel-syncMichael Krufky
Repair broken build configuration for hybrid v4l/dvb card frontend selection. Signed-off-by: Michael Krufky <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-11-13Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products.Michael Krufky
From: Steven Toth <stoth@hauppauge.com> - Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products. - Basic DVB-S support is working, analog video inputs work. - It has one or two fixme comments, primarily analog GPIOs (audio) and eeprom parsing. - This should not be sent upstream yet! - CX24123 code (in cx88-dvb.c) disabled until the cx24123 module is added to dvb-kernel cvs. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-27 * ../linux/drivers/media/video/cx88/Kconfig:Michael Krufky
* ../linux/drivers/media/video/cx88/Makefile: * ../linux/drivers/media/video/cx88/cx88-dvb.c: (nxt200x_set_ts_param), (dvb_register): * ../v4l/Makefile: - Added support for NXT200X based cards (ATI HDTV Wonder) * ../linux/drivers/media/video/cx88/cx88-cards.c: (cx88_card_setup): - Cleaned up initialization of ATI HDTV Wonder. The card is now able to work in analog or digital mode and able to switch between them without any problems. * ../linux/drivers/media/video/tuner-simple.c: (default_set_tv_freq): - Fixed value in "Philips TUV1236D ATSC/NTSC dual in" tuner data. - When tuning the "Philips TUV1236D ATSC/NTSC dual in" tuner, make sure that we are in the correct tuning mode. Signed-off-by: Kirk Lapray <kirk.lapray@gmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-11 * ../linux/drivers/media/video/cx88/Makefile:Michael Krufky
* ../linux/drivers/media/video/saa7134/Makefile: - Be sure to enable video-buf-dvb in kernel build. Signed-off-by: Michael Krufky <mkrufky@m1k.net>
2005-10-11 * ../linux/drivers/media/video/cx88/Makefile:Michael Krufky
* ../linux/drivers/media/video/saa7134/Makefile: - import cx88 and saa7134 Makefile(s) from 2.6.14-rc4 Signed-off-by: Michael Krufky <mkrufky@m1k.net>