Re: linux-2.4.6-pre6: numerous dep_{bool,tristate} $CONFIG_ARCH_xxx bugs

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 30 Jun 2001 08:26:22 +0100 (BST)


> I do not understand what you (Alan) mean by the "'conflicts with'"
> usage. I do not believe there is any way to directly use dep_* to express
> that a "y" answer to some feature requires "n" or even "m" for another
> feature.

Uses for dep_tristate

#1

dep_tristate $FOO $BAR

to say 'FOO requires BAR and must be a similar setting'

#2
dep_tristate $FOO $BAR

to say 'FOO requires BAR and must be a similar setting _IF_CONFIGURED_'

Think about Plug and Play

A driver needs to be modular if PnP is modular, but with a non PnP kernel
can be Yes even if PNP is off.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/