Skip to contentSkip to conversation

Kconfig: saa7134-dvb must select tda1004x

PATCH New Michael Krufky 3 participants 5 messages Aug 30, 2005 – Aug 31, 2005 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kconfig: saa7134-dvb must select tda1004x

I wish I had seen this before 2.6.13 was released... I guess this only goes to show that there haven't been any testers using saa7134-hybrid dvb/v4l boards that depend on the tda1004x module, during the 2.6.13-rc series :-(

Please apply this to 2.6.14, and also to 2.6.13.1 -stable. Without this patch, users will have to EXPLICITLY select tda1004x in Kconfig. This SHOULD be done automatically when saa7134-dvb is selected. This patch corrects this problem.

saa7134-dvb must select tda1004x

 linux/drivers/media/video/Kconfig |    1 +
 1 files changed, 1 insertion(+)
drivers/media/video/Kconfig +1 -0
diff -u linux-2.6.13/drivers/media/video/Kconfig linux/drivers/media/video/Kconfig
@@ -254,6 +254,7 @@
 	select VIDEO_BUF_DVB
 	select DVB_MT352
 	select DVB_CX22702
+	select DVB_TDA1004X
 	---help---
 	  This adds support for DVB cards based on the
 	  Philips saa7134 chip.
#1 lore raw

PATCH 1/1 add missing select's to DVB_BUDGET_AV

Quoted 10 lines · Michael Krufky

I wish I had seen this before 2.6.13 was released... I guess this only goes to show that there haven't been any testers using saa7134-hybrid dvb/v4l boards that depend on the tda1004x module, during the 2.6.13-rc series :-(

Please apply this to 2.6.14, and also to 2.6.13.1 -stable. Without this patch, users will have to EXPLICITLY select tda1004x in Kconfig. This SHOULD be done automatically when saa7134-dvb is selected. This patch corrects this problem.
...

What about the patch below fixing the following similar problems in drivers/media/dvb/ttpci/budget-ci.c ?

cu
Adrian

<-- snip -->

Add missing select's to DVB_BUDGET_AV fixing the following compile error:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `frontend_init':
budget-av.c:(.text+0xb9448): undefined reference to tda10046_attach' budget-av.c:(.text+0xb9518): undefined reference to tda10021_attach' drivers/built-in.o: In function `philips_tu1216_request_firmware':
budget-av.c:(.text+0xb937b): undefined reference to `request_firmware'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

drivers/media/dvb/ttpci/Kconfig renamed from drivers/media/dvb/ttpci/Kconfig.old +3 -0
@@ -99,12 +99,15 @@
 config DVB_BUDGET_AV
 	tristate "Budget cards with analog video inputs"
 	depends on DVB_CORE && PCI
 	select VIDEO_DEV
 	select VIDEO_SAA7146_VV
 	select DVB_STV0299
+	select DVB_TDA1004X
+	select DVB_TDA10021
+	select FW_LOADER
 	help
 	  Support for simple SAA7146 based DVB cards
 	  (so called Budget- or Nova-PCI cards) without onboard
 	  MPEG2 decoder, but with one or more analog video inputs.
 
 	  Say Y if you own such a card and want to use it.
Acked-by on v1 1/1
#2 lore raw

Re: [linux-dvb-maintainer] [2.6 patch] add missing select's to DVB_BUDGET_AV

Quoted 15 lines · On Wed, Aug 31, 2005 Adrian Bunk wrote:

Add missing select's to DVB_BUDGET_AV fixing the following compile error:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `frontend_init':
budget-av.c:(.text+0xb9448): undefined reference to tda10046_attach' budget-av.c:(.text+0xb9518): undefined reference to tda10021_attach' drivers/built-in.o: In function `philips_tu1216_request_firmware':
budget-av.c:(.text+0xb937b): undefined reference to `request_firmware'
make: *** [.tmp_vmlinux1] Error 1

Quoted 4 lines

<-- snip -->

I also added this to linuxtv.org CVS. But I'm not sure it is critical enough to put it in stable.

Thanks,
Johannes

Quoted 25 lines
drivers/media/dvb/ttpci/Kconfig renamed from drivers/media/dvb/ttpci/Kconfig.old +3 -0
@@ -99,12 +99,15 @@
 config DVB_BUDGET_AV
 	tristate "Budget cards with analog video inputs"
 	depends on DVB_CORE && PCI
 	select VIDEO_DEV
 	select VIDEO_SAA7146_VV
 	select DVB_STV0299
+	select DVB_TDA1004X
+	select DVB_TDA10021
+	select FW_LOADER
 	help
 	  Support for simple SAA7146 based DVB cards
 	  (so called Budget- or Nova-PCI cards) without onboard
 	  MPEG2 decoder, but with one or more analog video inputs.
 
 	  Say Y if you own such a card and want to use it.

_______________________________________________
linux-dvb-maintainer mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb-maintainer

#3 lore raw

Re: [linux-dvb-maintainer] [2.6 patch] add missing select's to DVB_BUDGET_AV

Quoted 19 lines · Johannes Stezenbach
Quoted 18 lines · On Wed, Aug 31, 2005 Adrian Bunk wrote:

Add missing select's to DVB_BUDGET_AV fixing the following compile error:

<-- snip -->

...
LD .tmp_vmlinux1
drivers/built-in.o: In function `frontend_init':
budget-av.c:(.text+0xb9448): undefined reference to tda10046_attach' budget-av.c:(.text+0xb9518): undefined reference to tda10021_attach' drivers/built-in.o: In function `philips_tu1216_request_firmware':
budget-av.c:(.text+0xb937b): undefined reference to `request_firmware'
make: *** [.tmp_vmlinux1] Error 1

<-- snip -->

Quoted 6 lines
Quoted 1 line

I also added this to linuxtv.org CVS. But I'm not sure it is critical enough to put it in stable.

If I were a -stable maintainer, I'd include both patches after they were included in Linus' tree and shipped with one -rc or -mm kernel.

But that's not a strong opinion, it's also OK for me if the patches don't get included in 2.6.13.x .

Quoted 3 lines

Thanks,
Johannes
...

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
author Acked-by
#4 lore raw

Re: [linux-dvb-maintainer] [2.6 patch] add missing select's to DVB_BUDGET_AV

Quoted 12 lines · Adrian Bunk
Quoted 4 lines · Johannes Stezenbach

I also added this to linuxtv.org CVS. But I'm not sure it is critical enough to put it in stable.

If I were a -stable maintainer, I'd include both patches after they were included in Linus' tree and shipped with one -rc or -mm kernel.

But that's not a strong opinion, it's also OK for me if the patches don't get included in 2.6.13.x .

Adrian-

About saa7134-dvb patch, it is already in -mm and the 2.6.13.y stable patch queue, but not yet in -git. Nobody will complain about it when it comes time for 2.6.13.1 review, as it was only left out of 2.6.13 by accident. I sent that in, as it is technically part of v4l tree (even though it handles DVB code, saa7134-dvb.c is a hybrid v4l file). This is (probably) the reason why JS didn't send an ACK on my patch, but I bet Mauro will ACK it when Chris starts the 2.6.13.1-stable review on LKML.

Good looking on the budget_av patch :-) ... I was just about to respond to your email before I saw that Johannes already did. IMHO, I agree that your budget_av patch couldn't hurt to go to stable as well, but since JS says it isn't critical, I think you might need to lobby to him to change his mind. Personally, I think that both patches should go to 2.6.13.y -stable, as it IS a behavior correction for Kconfig kernel compilation, and without these patches, some users may be left confused with supported hardware that won't work (without some googling). I think it is best for user-friendliness to apply these ASAP.

If you choose to send it to stable, feel free to add:

...although, since I am not the official maintainer (Johannes is) I don't think my ACK matters by much :-(

-MiKE Krufky