patch-2.3.22 linux/net/ax25/Config.in

Next file: linux/net/core/dev.c
Previous file: linux/net/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.21/linux/net/ax25/Config.in linux/net/ax25/Config.in
@@ -10,21 +10,26 @@
 comment 'Amateur Radio support'
 bool 'Amateur Radio support' CONFIG_HAMRADIO
 
-if [ "$CONFIG_HAMRADIO" != "n" ] ; then
-  if [ "$CONFIG_NET" != "n" ] ; then
-    comment 'Packet Radio protocols'
-    tristate 'Amateur Radio AX.25 Level 2 protocol' CONFIG_AX25
-    if [ "$CONFIG_AX25" != "n" ]; then
-      bool '   AX.25 DAMA Slave support' CONFIG_AX25_DAMA_SLAVE
-#     bool '   AX.25 DAMA Master support' CONFIG_AX25_DAMA_MASTER
-      dep_tristate '   Amateur Radio NET/ROM protocol' CONFIG_NETROM $CONFIG_AX25
-      dep_tristate '   Amateur Radio X.25 PLP (Rose)' CONFIG_ROSE $CONFIG_AX25
-    fi
+if [ "$CONFIG_HAMRADIO" != "n" ]; then
+   if [ "$CONFIG_NET" != "n" ]; then
+      comment 'Packet Radio protocols'
+      tristate '  Amateur Radio AX.25 Level 2 protocol' CONFIG_AX25
+      if [ "$CONFIG_AX25" != "n" ]; then
+	 bool '    AX.25 DAMA Slave support' CONFIG_AX25_DAMA_SLAVE
+#	 bool '    AX.25 DAMA Master support' CONFIG_AX25_DAMA_MASTER
+	 dep_tristate '    Amateur Radio NET/ROM protocol' CONFIG_NETROM $CONFIG_AX25
+	 dep_tristate '    Amateur Radio X.25 PLP (Rose)' CONFIG_ROSE $CONFIG_AX25
+      fi
 
-    if [ "$CONFIG_AX25" != "n" ]; then
-      source drivers/net/hamradio/Config.in
-    fi
-  fi
+      if [ "$CONFIG_AX25" != "n" ]; then
+	 mainmenu_option next_comment
+	 comment 'AX.25 network device drivers'
+
+	 source drivers/net/hamradio/Config.in
+
+	 endmenu
+      fi
+   fi
 
 fi
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)