Re: IRNET depending on PPP

Andrzej Krzysztofowicz (ankry@pg.gda.pl)
Tue, 2 Jan 2001 10:30:40 +0100 (MET)


"Oliver Neukum wrote:"
>
> IRNET depends on PPP, but that is not reflected in the configuration files.
> A patch is attached.

An incorrect patch.
Note, that if CONFIG_NETDEVICES=n then CONFIG_PPP is undefined (instead of
being equal to "n") ...

> --- linux-vanilla/net/irda/irnet/Config.in Mon Jan 1 14:34:02 2001
> +++ linux/net/irda/irnet/Config.in Mon Jan 1 15:35:15 2001
> @@ -1 +1,3 @@
> -dep_tristate ' IrNET protocol' CONFIG_IRNET $CONFIG_IRDA

The following line
> +if [ "$CONFIG_PPP" != "n" ]; then

should be replaced by either
+if [ "$CONFIG_PPP" = "y" -o "$CONFIG_PPP" = "m" ]; then
or
+if [ "$CONFIG_NETDEVICES" = "y" -a "$CONFIG_PPP" != "n" ]; then

> + dep_tristate ' IrNET protocol' CONFIG_IRNET $CONFIG_IRDA
> +fi

Andrzej

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk

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