Re: [2.6 patch] sound drivers select'ing ISAPNP must depend on PNP&& ISA

From: Bodo Eggert
Date: Tue Jul 19 2005 - 15:52:08 EST


On Tue, 19 Jul 2005, Adrian Bunk wrote:
> On Sun, Jul 17, 2005 at 05:07:48PM +0200, Bodo Eggert wrote:

> > In sound/isa/Kconfig, select ISAPNP and depend on ISAPNP are intermixed,
> > resulting in funny behaviour. (Soundcarts get selectable if other
> > soundcards are selected).
> >
> > This patch changes the "depend on ISAPNP"s to select.
> >...
>
> I like the idea of this patch, but it brings to more drivers to a
> violation of the "if you select something, you have to ensure that the
> dependencies of what you select are fulfilled" rule causing link errors
> with invalid .config's.

That should be mentioned in kconfig-language.txt. OTOH, the build system
should automatically propagate the dependencies. I asume that should be
easy, except for having the time to implement that.


BTW: How can you select something to be at least a module?
BTW2: In bool options, depending on FOO seems to be equal to depending on
FOO!=n. Is this assumption correct?

--
Top 100 things you don't want the sysadmin to say:
49. What's this switch for anyways...?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/