Skip to contentSkip to conversation

Cleanup PPP menu and give it a submenu

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Cleanup PPP menu and give it a submenu

Hi Marcelo,

I've been getting complaints about the menu structure from the linux kernel config subsystem for a _long time_. Now let's clean up the PPP menu and give it a submenu. We are getting close that the menu will look more cleaner :)

More cleanups for different menu's are following.

Please apply for 2.4.22-pre10. Thank you :)

If you accept this one, some other arches have this stuff in arch/<arch>/Config.in which is bad anyway, but it needs a cleanup of the menu structure also, so I'll send a patch for them too.

ciao, Marc

drivers/net/Config.in +10 -7
diff -Naurp a/drivers/net/Config.in b/drivers/net/Config.in
@@ -300,6 +300,15 @@ fi
 
 dep_tristate 'PLIP (parallel port) support' CONFIG_PLIP $CONFIG_PARPORT
 
+tristate 'SLIP (serial line) support' CONFIG_SLIP
+if [ "$CONFIG_SLIP" != "n" ]; then
+   bool '  CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
+   bool '  Keepalive and linefill' CONFIG_SLIP_SMART
+   bool '  Six bit SLIP encapsulation' CONFIG_SLIP_MODE_SLIP6
+fi
+
+mainmenu_option next_comment
+comment 'PPP (point-to-point protocol) support'
 tristate 'PPP (point-to-point protocol) support' CONFIG_PPP
 if [ ! "$CONFIG_PPP" = "n" ]; then
    dep_bool '  PPP multilink support (EXPERIMENTAL)' CONFIG_PPP_MULTILINK $CONFIG_EXPERIMENTAL
@@ -315,13 +315,7 @@ if [ ! "$CONFIG_PPP" = "n" ]; then
       dep_tristate '  PPP over ATM (EXPERIMENTAL)' CONFIG_PPPOATM $CONFIG_PPP $CONFIG_ATM
    fi
 fi
-
-tristate 'SLIP (serial line) support' CONFIG_SLIP
-if [ "$CONFIG_SLIP" != "n" ]; then
-   bool '  CSLIP compressed headers' CONFIG_SLIP_COMPRESSED
-   bool '  Keepalive and linefill' CONFIG_SLIP_SMART
-   bool '  Six bit SLIP encapsulation' CONFIG_SLIP_MODE_SLIP6
-fi
+endmenu
 
 mainmenu_option next_comment
 comment 'Wireless LAN (non-hamradio)'