Skip to contentSkip to conversation

Reorder "Network Device Support" under "Networking Options"

PATCH New Marc-Christian Petersen 1 participant 1 message Aug 1, 2003

Subsystems (6)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Reorder "Network Device Support" under "Networking Options"

Hi Marcelo,

I've been getting complaints about the menu structure from the linux kernel config subsystem for a _long time_. Now let's reorder $subject. We are getting close that the menu will look more cleaner :)

More cleanups for different menu's are following.

It's the same menu structure like in 2.5/2.6.

Please apply for 2.4.22-pre10. Thank you :)

ciao, Marc

arch/i386/config.in +14 -13
@@ -355,6 +355,20 @@
    source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+   mainmenu_option next_comment
+   comment 'Network device support'
+
+   bool 'Network device support' CONFIG_NETDEVICES
+   if [ "$CONFIG_NETDEVICES" = "y" ]; then
+      source drivers/net/Config.in
+      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+         source drivers/atm/Config.in
+      fi
+   fi
+   endmenu
+fi
+
 source drivers/telephony/Config.in
 
 mainmenu_option next_comment
@@ -386,19 +386,6 @@
 
 source drivers/message/i2o/Config.in
 
-if [ "$CONFIG_NET" = "y" ]; then
-   mainmenu_option next_comment
-   comment 'Network device support'
-
-   bool 'Network device support' CONFIG_NETDEVICES
-   if [ "$CONFIG_NETDEVICES" = "y" ]; then
-      source drivers/net/Config.in
-      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-         source drivers/atm/Config.in
-      fi
-   fi
-   endmenu
-fi
 
 source net/ax25/Config.in
 
arch/ppc/config.in +14 -14
@@ -293,6 +293,20 @@ if [ "$CONFIG_NET" = "y" ]; then
   source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+  mainmenu_option next_comment
+  comment 'Network device support'
+
+  bool 'Network device support' CONFIG_NETDEVICES
+  if [ "$CONFIG_NETDEVICES" = "y" ]; then
+    source drivers/net/Config.in
+    if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+      source drivers/atm/Config.in
+    fi
+  fi
+  endmenu
+fi
+
 mainmenu_option next_comment
 comment 'ATA/IDE/MFM/RLL support'
 
@@ -316,20 +330,6 @@ endmenu
 
 source drivers/ieee1394/Config.in
 
-if [ "$CONFIG_NET" = "y" ]; then
-  mainmenu_option next_comment
-  comment 'Network device support'
-
-  bool 'Network device support' CONFIG_NETDEVICES
-  if [ "$CONFIG_NETDEVICES" = "y" ]; then
-    source drivers/net/Config.in
-    if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-      source drivers/atm/Config.in
-    fi
-  fi
-  endmenu
-fi
-
 source net/ax25/Config.in
 
 source net/irda/Config.in
arch/ppc64/config.in +14 -14
@@ -111,6 +111,20 @@ if [ "$CONFIG_NET" = "y" ]; then
    source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+   mainmenu_option next_comment
+   comment 'Network device support'
+
+   bool 'Network device support' CONFIG_NETDEVICES
+   if [ "$CONFIG_NETDEVICES" = "y" ]; then
+      source drivers/net/Config.in
+      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+         source drivers/atm/Config.in
+      fi
+   fi
+   endmenu
+fi
+
 mainmenu_option next_comment
 comment 'ATA/IDE/MFM/RLL support'
 
@@ -134,20 +148,6 @@ endmenu
 
 source drivers/ieee1394/Config.in
 
-if [ "$CONFIG_NET" = "y" ]; then
-   mainmenu_option next_comment
-   comment 'Network device support'
-
-   bool 'Network device support' CONFIG_NETDEVICES
-   if [ "$CONFIG_NETDEVICES" = "y" ]; then
-      source drivers/net/Config.in
-      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-         source drivers/atm/Config.in
-      fi
-   fi
-   endmenu
-fi
-
 source net/ax25/Config.in
 
 mainmenu_option next_comment
arch/alpha/config.in +14 -14
@@ -331,6 +331,20 @@ if [ "$CONFIG_NET" = "y" ]; then
   source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+  mainmenu_option next_comment
+  comment 'Network device support'
+
+  bool 'Network device support' CONFIG_NETDEVICES
+  if [ "$CONFIG_NETDEVICES" = "y" ]; then
+    source drivers/net/Config.in
+    if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+      source drivers/atm/Config.in
+    fi
+  fi
+  endmenu
+fi
+
 mainmenu_option next_comment
 comment 'ATA/IDE/MFM/RLL support'
 
@@ -360,20 +374,6 @@ if [ "$CONFIG_PCI" = "y" ]; then
   source drivers/ieee1394/Config.in
 fi
 
-if [ "$CONFIG_NET" = "y" ]; then
-  mainmenu_option next_comment
-  comment 'Network device support'
-
-  bool 'Network device support' CONFIG_NETDEVICES
-  if [ "$CONFIG_NETDEVICES" = "y" ]; then
-    source drivers/net/Config.in
-    if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-      source drivers/atm/Config.in
-    fi
-  fi
-  endmenu
-fi
-
 source net/ax25/Config.in
 
 mainmenu_option next_comment
arch/cris/config.in +14 -14
@@ -174,6 +174,20 @@ if [ "$CONFIG_NET" = "y" ]; then
   source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+  mainmenu_option next_comment
+  comment 'Network device support'
+
+  bool 'Network device support' CONFIG_NETDEVICES
+  if [ "$CONFIG_NETDEVICES" = "y" ]; then
+    source drivers/net/Config.in
+      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+         source drivers/atm/Config.in
+      fi
+  fi
+  endmenu
+fi
+
 source drivers/telephony/Config.in
 
 mainmenu_option next_comment
@@ -203,20 +217,6 @@ source drivers/ieee1394/Config.in
 
 source drivers/message/i2o/Config.in
 
-if [ "$CONFIG_NET" = "y" ]; then
-  mainmenu_option next_comment
-  comment 'Network device support'
-
-  bool 'Network device support' CONFIG_NETDEVICES
-  if [ "$CONFIG_NETDEVICES" = "y" ]; then
-    source drivers/net/Config.in
-      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-         source drivers/atm/Config.in
-      fi
-  fi
-  endmenu
-fi
-
 source net/ax25/Config.in
 
 source net/irda/Config.in
arch/m68k/config.in +87 -87

186 lines not on this page · raw message

arch/mips/config-shared.in +14 -14
@@ -650,6 +650,20 @@ if [ "$CONFIG_NET" = "y" ]; then
    source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+   mainmenu_option next_comment
+   comment 'Network device support'
+
+   bool 'Network device support' CONFIG_NETDEVICES
+   if [ "$CONFIG_NETDEVICES" = "y" ]; then
+      source drivers/net/Config.in
+      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+	 source drivers/atm/Config.in
+      fi
+   fi
+   endmenu
+fi
+
 source drivers/telephony/Config.in
 
 mainmenu_option next_comment
@@ -679,20 +693,6 @@ if [ "$CONFIG_PCI" = "y" ]; then
    source drivers/message/i2o/Config.in
 fi
 
-if [ "$CONFIG_NET" = "y" ]; then
-   mainmenu_option next_comment
-   comment 'Network device support'
-
-   bool 'Network device support' CONFIG_NETDEVICES
-   if [ "$CONFIG_NETDEVICES" = "y" ]; then
-      source drivers/net/Config.in
-      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-	 source drivers/atm/Config.in
-      fi
-   fi
-   endmenu
-fi
-
 source net/ax25/Config.in
 
 source net/irda/Config.in
arch/parisc/config.in +15 -15
@@ -103,6 +103,21 @@ if [ "$CONFIG_NET" = "y" ]; then
    source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+   mainmenu_option next_comment
+   comment 'Network device support'
+
+   bool 'Network device support' CONFIG_NETDEVICES
+
+   if [ "$CONFIG_NETDEVICES" = "y" ]; then
+      source drivers/net/Config.in
+      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+         source drivers/atm/Config.in
+      fi
+   fi
+   endmenu
+fi
+
 if [ "$CONFIG_SUPERIO" = "y" ]; then
     mainmenu_option next_comment
     comment 'ATA/IDE/MFM/RLL support'
@@ -128,21 +143,6 @@ if [ "$CONFIG_SCSI" != "n" ]; then
 fi
 endmenu
 
-if [ "$CONFIG_NET" = "y" ]; then
-   mainmenu_option next_comment
-   comment 'Network device support'
-
-   bool 'Network device support' CONFIG_NETDEVICES
-
-   if [ "$CONFIG_NETDEVICES" = "y" ]; then
-      source drivers/net/Config.in
-      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-         source drivers/atm/Config.in
-      fi
-   fi
-   endmenu
-fi
-
 #
 # input before char - char/joystick depends on it. As does USB.
 #
arch/s390/config.in +2 -2
@@ -61,12 +61,12 @@ bool 'Pseudo page fault support' CONFIG_
 bool 'VM shared kernel support' CONFIG_SHARED_KERNEL
 endmenu
 
-source drivers/s390/Config.in
-
 if [ "$CONFIG_NET" = "y" ]; then
   source net/Config.in
 fi
 
+source drivers/s390/Config.in
+
 source fs/Config.in
 
 mainmenu_option next_comment
arch/s390x/config.in +2 -3
@@ -64,13 +64,12 @@ bool 'Pseudo page fault support' CONFIG_
 bool 'VM shared kernel support' CONFIG_SHARED_KERNEL
 endmenu
 
-
-source drivers/s390/Config.in
-
 if [ "$CONFIG_NET" = "y" ]; then
   source net/Config.in
 fi
 
+source drivers/s390/Config.in
+
 source fs/Config.in
 
 mainmenu_option next_comment
arch/sh64/config.in +14 -14
@@ -165,6 +165,20 @@ if [ "$CONFIG_NET" = "y" ]; then
    source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+   mainmenu_option next_comment
+   comment 'Network device support'
+
+   bool 'Network device support' CONFIG_NETDEVICES
+   if [ "$CONFIG_NETDEVICES" = "y" ]; then
+      source drivers/net/Config.in
+      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+         source drivers/atm/Config.in
+      fi
+   fi
+   endmenu
+fi
+
 mainmenu_option next_comment
 comment 'ATA/IDE/MFM/RLL support'
 
@@ -191,20 +205,6 @@ endmenu
 
 # source drivers/ieee1394/Config.in
 
-if [ "$CONFIG_NET" = "y" ]; then
-   mainmenu_option next_comment
-   comment 'Network device support'
-
-   bool 'Network device support' CONFIG_NETDEVICES
-   if [ "$CONFIG_NETDEVICES" = "y" ]; then
-      source drivers/net/Config.in
-      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-         source drivers/atm/Config.in
-      fi
-   fi
-   endmenu
-fi
-
 #
 # input before char - char/joystick depends on it. As does USB.
 #
arch/sparc/config.in +55 -55

122 lines not on this page · raw message

arch/sparc64/config.in +14 -14
@@ -119,6 +119,20 @@ if [ "$CONFIG_NET" = "y" ]; then
    source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+   mainmenu_option next_comment
+   comment 'Network device support'
+
+   bool 'Network device support' CONFIG_NETDEVICES
+   if [ "$CONFIG_NETDEVICES" = "y" ]; then
+      source drivers/net/Config.in
+      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+	source drivers/atm/Config.in
+      fi
+   fi
+   endmenu
+fi
+
 mainmenu_option next_comment
 comment 'ATA/IDE/MFM/RLL support'
 
@@ -227,20 +241,6 @@ fi
 
 source drivers/ieee1394/Config.in
 
-if [ "$CONFIG_NET" = "y" ]; then
-   mainmenu_option next_comment
-   comment 'Network device support'
-
-   bool 'Network device support' CONFIG_NETDEVICES
-   if [ "$CONFIG_NETDEVICES" = "y" ]; then
-      source drivers/net/Config.in
-      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-	source drivers/atm/Config.in
-      fi
-   fi
-   endmenu
-fi
-
 # This one must be before the filesystem configs. -DaveM
 mainmenu_option next_comment
 comment 'Unix 98 PTY support'
arch/x86_64/config.in +15 -15
@@ -128,6 +128,21 @@ if [ "$CONFIG_NET" = "y" ]; then
    source net/Config.in
 fi
 
+if [ "$CONFIG_NET" = "y" ]; then
+   mainmenu_option next_comment
+   comment 'Network device support'
+
+   bool 'Network device support' CONFIG_NETDEVICES
+   if [ "$CONFIG_NETDEVICES" = "y" ]; then
+      source drivers/net/Config.in
+# seems to be largely not 64bit safe	   
+#      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
+#         source drivers/atm/Config.in
+#      fi
+   fi
+   endmenu
+fi
+
 source drivers/telephony/Config.in
 
 mainmenu_option next_comment
@@ -160,21 +175,6 @@ source drivers/ieee1394/Config.in
 #Currently not 64bit safe
 #source drivers/message/i2o/Config.in
 
-if [ "$CONFIG_NET" = "y" ]; then
-   mainmenu_option next_comment
-   comment 'Network device support'
-
-   bool 'Network device support' CONFIG_NETDEVICES
-   if [ "$CONFIG_NETDEVICES" = "y" ]; then
-      source drivers/net/Config.in
-# seems to be largely not 64bit safe	   
-#      if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
-#         source drivers/atm/Config.in
-#      fi
-   fi
-   endmenu
-fi
-
 source net/ax25/Config.in
 
 source net/irda/Config.in