linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* IRNET depending on PPP
@ 2001-01-01 14:32 Oliver Neukum
  2001-01-02  9:30 ` Andrzej Krzysztofowicz
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Neukum @ 2001-01-01 14:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: mec

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

Hi,

IRNET depends on PPP, but that is not reflected in the configuration files.
A patch is attached.

	Regards
		Oliver

[-- Attachment #2: irda.diff --]
[-- Type: text/plain, Size: 300 bytes --]

--- 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
+if [ "$CONFIG_PPP" != "n" ]; then
+	dep_tristate '  IrNET protocol' CONFIG_IRNET $CONFIG_IRDA
+fi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IRNET depending on PPP
  2001-01-01 14:32 IRNET depending on PPP Oliver Neukum
@ 2001-01-02  9:30 ` Andrzej Krzysztofowicz
  0 siblings, 0 replies; 2+ messages in thread
From: Andrzej Krzysztofowicz @ 2001-01-02  9:30 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linux-kernel, mec

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-02 10:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-01 14:32 IRNET depending on PPP Oliver Neukum
2001-01-02  9:30 ` Andrzej Krzysztofowicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).