[BUG] 2.4.22-pre7 ATM config breakage

From: Mikael Pettersson (mikpe@csd.uu.se)
Date: Fri Jul 18 2003 - 18:30:00 EST


When configuring 2.4.22-pre7 I get the drivers/atm/Config.in
questions even though I haven't enabled CONFIG_ATM.

This is because net/Config.in has

if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
   tristate 'Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)' CONFIG_ATM

while arch/i386/config.in has

      source drivers/net/Config.in
      if [ "$CONFIG_ATM" != "n" ]; then
         source drivers/atm/Config.in

With CONFIG_EXPERIMENTAL disabled, CONFIG_ATM is unset, and the
test "$CONFIG_ATM" != "n" becomes true ("" != "n").

Either CONFIG_ATM shouldn't depend on CONFIG_EXPERIMENTAL, or the test
should be "$CONFIG_EXPERIMENTAL" = "y" -a "$CONFIG_ATM" != "n".

/Mikael
-
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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:36 EST