Skip to contentSkip to conversation

IRNET depending on PPP

PATCH Oliver Neukum 2 participants 2 messages Jan 1, 2001 – Jan 2, 2001 Networking

lore
Share & tools
lore
#0 lore raw

Hi,

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

Regards
Oliver

net/irda/irnet/Config.in +3 -1
@@ -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
#1 lore raw

"Oliver Neukum wrote:"

Quoted 3 lines

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") ...

net/irda/irnet/Config.in line 1

Quoted 4 lines
net/irda/irnet/Config.in +0 -1
@@ -1 +1,3 @@
-dep_tristate '  IrNET protocol' CONFIG_IRNET $CONFIG_IRDA

The following line

net/irda/irnet/Config.in line 1

Quoted 1 line
net/irda/irnet/Config.in +1 -0
+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

net/irda/irnet/Config.in line 3

Quoted 2 lines
net/irda/irnet/Config.in +2 -0
+	dep_tristate '  IrNET protocol' CONFIG_IRNET $CONFIG_IRDA
+fi

Andrzej

Signature · 9 lines
=======================================================================
  Andrzej M. Krzysztofowicz               [email protected]
  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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/