Re: Linux 2.6.26-rc1

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mauro Carvalho Chehab
Date: Tuesday, May 6, 2008 - 1:06 pm

On Tue, 06 May 2008 21:44:36 +0200
Stefan Richter <stefanr@s5r6.in-berlin.de> wrote:



This is the way it is designed.

For example, if you have a em28xx device with msp3400 and tvp5150 and another
em28xx device with saa7113.

If you remove the select's for MSP3400, TVP5150 and SAA7113, at, em28xx, the
module will compile without problems.

The only issue is that you won't be able to see any images (due to the lack of
tvp5150 or saa7113 analog TV demoduler) or listen to the audio, if the device
needs msp3400 to decode audio.

So, you'll just spend kernelspace for a completely useless driver ;)

Ok, let's consider a scenario where there are 3 options, for each of the above.

Now, the user will need to open the USB stick, without breaking anything,
to identify what chips it have inside the internal i2c bus, before compiling the kernel.

Also, since V4L/DVB has more than 230 drivers (most of them are those I2C
helper drivers), the number of items for the user to understand and select will
be huge.

It is much better for the user to just select EM28XX and let the Kconfig do the
hard work of selecting what low-level driver applies for em28xx-based devices.

This causes lots of select, being very hard to maintain. The better would be to
have a select-like clause that could check the dependencies automatically.

Another alternative would be some sort of script (checkpatch.pl?) that would
check if all selected dependencies are ok.

Cheers,
Mauro
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.26-rc1, Linus Torvalds, (Sat May 3, 12:38 pm)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sat May 3, 2:47 pm)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sat May 3, 2:53 pm)
[patch] sysfs: build fix, Ingo Molnar, (Sun May 4, 12:29 am)
Re: Linux 2.6.26-rc1, Robin Holt, (Sun May 4, 5:30 am)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sun May 4, 6:56 am)
Re: Linux 2.6.26-rc1, Robin Holt, (Sun May 4, 9:09 am)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Sun May 4, 9:33 am)
Re: Linux 2.6.26-rc1, Jan Engelhardt, (Sun May 4, 11:40 am)
Re: Linux 2.6.26-rc1, Andreas Mohr, (Sun May 4, 10:39 pm)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Mon May 5, 12:30 am)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Mon May 5, 1:14 pm)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Mon May 5, 2:04 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Mon May 5, 4:51 pm)
Re: Linux 2.6.26-rc1, David Miller, (Mon May 5, 4:55 pm)
Re: Linux 2.6.26-rc1, Andrew Morton, (Mon May 5, 5:16 pm)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Mon May 5, 5:17 pm)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Mon May 5, 5:21 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Mon May 5, 10:35 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Mon May 5, 10:48 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Mon May 5, 10:57 pm)
Re: Linux 2.6.26-rc1, David Miller, (Mon May 5, 11:56 pm)
Re: Linux 2.6.26-rc1, Stephen Rothwell, (Tue May 6, 12:26 am)
Re: Linux 2.6.26-rc1, Alistair John Strachan, (Tue May 6, 1:02 am)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 3:31 am)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Tue May 6, 6:07 am)
Re: Scheduling problems ? [ Was: Linux 2.6.26-rc1 ], Ingo Molnar, (Tue May 6, 6:11 am)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 7:34 am)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 7:54 am)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 12:13 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 12:44 pm)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 1:06 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 1:47 pm)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Tue May 6, 3:39 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 4:36 pm)
Re: Linux 2.6.26-rc1, Stefan Richter, (Tue May 6, 4:48 pm)
Re: Linux 2.6.26-rc1, Ingo Molnar, (Wed May 7, 1:35 am)
Re: Linux 2.6.26-rc1, Mauro Carvalho Chehab, (Thu May 8, 5:48 am)
Re: Linux 2.6.26-rc1, Stefan Richter, (Thu May 8, 7:11 am)