public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* DVB build fails without I2C
@ 2006-09-09 10:55 Jeff Garzik
  2006-09-09 15:13 ` [v4l-dvb-maintainer] " Manu Abraham
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2006-09-09 10:55 UTC (permalink / raw)
  To: v4l-dvb-maintainer, Andrew Morton, Linux Kernel

In an effort to speed up my all-filesystems build, I disabled several 
things in my allyesconfig-generated .config.  As luck would have it, I 
wound up disabling I2C but did not disable DVB.

This led to a link failure at the end of the build, with the linker 
complaining that many I2C-related symbols were not present.

Recommended solution:  Add I2C as a dependency (or select) in DVB Kconfig.

	Jeff



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [v4l-dvb-maintainer] DVB build fails without I2C
  2006-09-09 10:55 DVB build fails without I2C Jeff Garzik
@ 2006-09-09 15:13 ` Manu Abraham
  2006-09-10 13:17   ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 4+ messages in thread
From: Manu Abraham @ 2006-09-09 15:13 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: v4l-dvb-maintainer, Andrew Morton, Linux Kernel

Jeff Garzik wrote:
> In an effort to speed up my all-filesystems build, I disabled several
> things in my allyesconfig-generated .config.  As luck would have it, I
> wound up disabling I2C but did not disable DVB.
> 
> This led to a link failure at the end of the build, with the linker
> complaining that many I2C-related symbols were not present.
> 
> Recommended solution:  Add I2C as a dependency (or select) in DVB Kconfig.


DVB-CORE does not depend on I2C, since it does not rely on any I2C at
all. (DVB-CORE can use other methods) It is the PCI bridges that depend
on I2C. IIRC, we had a patch adding I2C dependencies for the Kconfig for
the relevant bridge chips. The frontends which are connected to the
bridges, depend on DVB-Core and I2C. So that dependency exists.

frontends foo
depends on DVB_CORE && I2C

pci bridges foo
depends on DVB_CORE && I2C && PCI

Maybe that patch has not made it yet to mainline.


Manu

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [v4l-dvb-maintainer] DVB build fails without I2C
  2006-09-09 15:13 ` [v4l-dvb-maintainer] " Manu Abraham
@ 2006-09-10 13:17   ` Mauro Carvalho Chehab
  2006-09-10 15:16     ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2006-09-10 13:17 UTC (permalink / raw)
  To: Manu Abraham; +Cc: Jeff Garzik, Andrew Morton, v4l-dvb-maintainer, Linux Kernel

Em Sáb, 2006-09-09 às 19:13 +0400, Manu Abraham escreveu:
> Jeff Garzik wrote:
> > Recommended solution:  Add I2C as a dependency (or select) in DVB Kconfig.
> DVB-CORE does not depend on I2C, since it does not rely on any I2C at
> all. (DVB-CORE can use other methods) It is the PCI bridges that depend
> on I2C.
Yes. There are even a few dvb drivers that doesn't depend on I2C.
>  IIRC, we had a patch adding I2C dependencies for the Kconfig for
> the relevant bridge chips. The frontends which are connected to the
> bridges, depend on DVB-Core and I2C. So that dependency exists.
> 
> frontends foo
> depends on DVB_CORE && I2C
> 
> pci bridges foo
> depends on DVB_CORE && I2C && PCI
> 
> Maybe that patch has not made it yet to mainline.
No, it didn't arrived mainstream. It arrived only -mm series. The patch
depends a previous patch that added DVB attach support. Somebody offered
to backport it to 2.6.18 at #v4l channel (I'm not sure but I think it
was adq).

Cheers, 
Mauro.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [v4l-dvb-maintainer] DVB build fails without I2C
  2006-09-10 13:17   ` Mauro Carvalho Chehab
@ 2006-09-10 15:16     ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2006-09-10 15:16 UTC (permalink / raw)
  To: Manu Abraham; +Cc: Andrew Morton, v4l-dvb-maintainer, Linux Kernel, Jeff Garzik

Em Dom, 2006-09-10 às 10:17 -0300, Mauro Carvalho Chehab escreveu:
> Em Sáb, 2006-09-09 às 19:13 +0400, Manu Abraham escreveu:
> > Jeff Garzik wrote:
> > > Recommended solution:  Add I2C as a dependency (or select) in DVB Kconfig.
> > DVB-CORE does not depend on I2C
> > Maybe that patch has not made it yet to mainline.
> No, it didn't arrived mainstream.
> (I'm not sure but I think it was adq).
Yes, it was adq. He sent us a proper patch. I'm testing it the proper
patch at the kernel, with allmodconfig, then without i2c. If it works
fine, I'll send today to Linus to be included at mainstream.

Cheers, 
Mauro.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-10 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-09 10:55 DVB build fails without I2C Jeff Garzik
2006-09-09 15:13 ` [v4l-dvb-maintainer] " Manu Abraham
2006-09-10 13:17   ` Mauro Carvalho Chehab
2006-09-10 15:16     ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox