2004-03-15 00:38:27

by Randy.Dunlap

[permalink] [raw]
Subject: [patch/RFC] networking menus


BenH mentioned last week that the networking menus need some help.
They are too twisted or confusing or something.

I was already looking into this. Roman suggested s/config/menuconfig/,
which is helpful.

This is just a first pass/RFC. It moves "Networking support" out of
the "Device Drivers" menu, which seems helpful to me. However,
ISTM that it should really just be the "Networking options" here
and not include Amateur Radio, IrDA, and Bluetooth support.
I.e., I think that those latter 3 should fall under Device Drivers.
Does that make sense to anyone else?

Other comments?

Does this need to be discussed on netdev (also)?

Thanks,
--
~Randy



// Linux 2.6.4
// Rearrange networking menus so that Networking support/options
// isn't buried inside Device Drivers.

diffstat:=
drivers/Kconfig | 4 +++-
init/Kconfig | 0
net/Kconfig | 6 ++----
net/ax25/Kconfig | 7 ++-----
net/bluetooth/Kconfig | 4 +---
net/irda/Kconfig | 6 ++----
6 files changed, 10 insertions(+), 17 deletions(-)


diff -Naurp ./drivers/Kconfig~net_config ./drivers/Kconfig
--- ./drivers/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
+++ ./drivers/Kconfig 2004-03-12 15:20:39.000000000 -0800
@@ -1,5 +1,7 @@
# drivers/Kconfig

+source "net/Kconfig"
+
menu "Device Drivers"

source "drivers/base/Kconfig"
@@ -28,7 +30,7 @@ source "drivers/message/i2o/Kconfig"

source "drivers/macintosh/Kconfig"

-source "net/Kconfig"
+source "drivers/net/Kconfig"

source "drivers/isdn/Kconfig"

diff -Naurp ./net/bluetooth/Kconfig~net_config ./net/bluetooth/Kconfig
--- ./net/bluetooth/Kconfig~net_config 2004-03-10 18:55:43.000000000 -0800
+++ ./net/bluetooth/Kconfig 2004-03-12 15:41:42.000000000 -0800
@@ -2,10 +2,8 @@
# Bluetooth subsystem configuration
#

-menu "Bluetooth support"
+menuconfig BT
depends on NET
-
-config BT
tristate "Bluetooth subsystem support"
help
Bluetooth is low-cost, low-power, short-range wireless technology.
diff -Naurp ./net/irda/Kconfig~net_config ./net/irda/Kconfig
--- ./net/irda/Kconfig~net_config 2004-03-10 18:55:27.000000000 -0800
+++ ./net/irda/Kconfig 2004-03-12 15:39:39.000000000 -0800
@@ -2,11 +2,9 @@
# IrDA protocol configuration
#

-menu "IrDA (infrared) support"
+menuconfig IRDA
depends on NET
-
-config IRDA
- tristate "IrDA subsystem support"
+ tristate "IrDA (infrared) subsystem support"
---help---
Say Y here if you want to build support for the IrDA (TM) protocols.
The Infrared Data Associations (tm) specifies standards for wireless
diff -Naurp ./net/ax25/Kconfig~net_config ./net/ax25/Kconfig
--- ./net/ax25/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
+++ ./net/ax25/Kconfig 2004-03-12 15:40:01.000000000 -0800
@@ -6,9 +6,8 @@
# Joerg Reuter DL1BKE <[email protected]>
# 19980129 Moved to net/ax25/Config.in, sourcing device drivers.

-menu "Amateur Radio support"
-
-config HAMRADIO
+menuconfig HAMRADIO
+ depends on NET
bool "Amateur Radio support"
help
If you want to connect your Linux box to an amateur radio, answer Y
@@ -109,5 +108,3 @@ source "drivers/net/hamradio/Kconfig"

endmenu

-endmenu
-
diff -Naurp ./net/Kconfig~net_config ./net/Kconfig
--- ./net/Kconfig~net_config 2004-03-10 18:55:21.000000000 -0800
+++ ./net/Kconfig 2004-03-12 15:24:30.000000000 -0800
@@ -2,9 +2,9 @@
# Network configuration
#

-menu "Networking support"
+###menu "Networking support"

-config NET
+menuconfig NET
bool "Networking support"
---help---
Unless you really know what you are doing, you should say Y here.
@@ -650,8 +650,6 @@ endmenu

endmenu

-source "drivers/net/Kconfig"
-
source "net/ax25/Kconfig"

source "net/irda/Kconfig"
diff -Naurp ./init/Kconfig~net_config ./init/Kconfig


2004-03-15 02:20:26

by Nivedita Singhvi

[permalink] [raw]
Subject: Re: [patch/RFC] networking menus

Randy.Dunlap wrote:

> This is just a first pass/RFC. It moves "Networking support" out of
> the "Device Drivers" menu, which seems helpful to me. However,
> ISTM that it should really just be the "Networking options" here
> and not include Amateur Radio, IrDA, and Bluetooth support.
> I.e., I think that those latter 3 should fall under Device Drivers.
> Does that make sense to anyone else?

Just a comment that those 3 subsystems are not just
device drivers, they have non-trivial amount of code
in the protocol stack under ../net/. So would moving
them to device drivers be misleading in any way?

I can see pulling out Networking support from under
device drivers, though.

> Does this need to be discussed on netdev (also)?

Yes. :)

thanks,
Nivedita

>
> // Linux 2.6.4
> // Rearrange networking menus so that Networking support/options
> // isn't buried inside Device Drivers.
>
> diffstat:=
> drivers/Kconfig | 4 +++-
> init/Kconfig | 0
> net/Kconfig | 6 ++----
> net/ax25/Kconfig | 7 ++-----
> net/bluetooth/Kconfig | 4 +---
> net/irda/Kconfig | 6 ++----
> 6 files changed, 10 insertions(+), 17 deletions(-)
>
>
> diff -Naurp ./drivers/Kconfig~net_config ./drivers/Kconfig
> --- ./drivers/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
> +++ ./drivers/Kconfig 2004-03-12 15:20:39.000000000 -0800
> @@ -1,5 +1,7 @@
> # drivers/Kconfig
>
> +source "net/Kconfig"
> +
> menu "Device Drivers"
>
> source "drivers/base/Kconfig"
> @@ -28,7 +30,7 @@ source "drivers/message/i2o/Kconfig"
>
> source "drivers/macintosh/Kconfig"
>
> -source "net/Kconfig"
> +source "drivers/net/Kconfig"
>
> source "drivers/isdn/Kconfig"
>
> diff -Naurp ./net/bluetooth/Kconfig~net_config ./net/bluetooth/Kconfig
> --- ./net/bluetooth/Kconfig~net_config 2004-03-10 18:55:43.000000000 -0800
> +++ ./net/bluetooth/Kconfig 2004-03-12 15:41:42.000000000 -0800
> @@ -2,10 +2,8 @@
> # Bluetooth subsystem configuration
> #
>
> -menu "Bluetooth support"
> +menuconfig BT
> depends on NET
> -
> -config BT
> tristate "Bluetooth subsystem support"
> help
> Bluetooth is low-cost, low-power, short-range wireless technology.
> diff -Naurp ./net/irda/Kconfig~net_config ./net/irda/Kconfig
> --- ./net/irda/Kconfig~net_config 2004-03-10 18:55:27.000000000 -0800
> +++ ./net/irda/Kconfig 2004-03-12 15:39:39.000000000 -0800
> @@ -2,11 +2,9 @@
> # IrDA protocol configuration
> #
>
> -menu "IrDA (infrared) support"
> +menuconfig IRDA
> depends on NET
> -
> -config IRDA
> - tristate "IrDA subsystem support"
> + tristate "IrDA (infrared) subsystem support"
> ---help---
> Say Y here if you want to build support for the IrDA (TM) protocols.
> The Infrared Data Associations (tm) specifies standards for wireless
> diff -Naurp ./net/ax25/Kconfig~net_config ./net/ax25/Kconfig
> --- ./net/ax25/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
> +++ ./net/ax25/Kconfig 2004-03-12 15:40:01.000000000 -0800
> @@ -6,9 +6,8 @@
> # Joerg Reuter DL1BKE <[email protected]>
> # 19980129 Moved to net/ax25/Config.in, sourcing device drivers.
>
> -menu "Amateur Radio support"
> -
> -config HAMRADIO
> +menuconfig HAMRADIO
> + depends on NET
> bool "Amateur Radio support"
> help
> If you want to connect your Linux box to an amateur radio, answer Y
> @@ -109,5 +108,3 @@ source "drivers/net/hamradio/Kconfig"
>
> endmenu
>
> -endmenu
> -
> diff -Naurp ./net/Kconfig~net_config ./net/Kconfig
> --- ./net/Kconfig~net_config 2004-03-10 18:55:21.000000000 -0800
> +++ ./net/Kconfig 2004-03-12 15:24:30.000000000 -0800
> @@ -2,9 +2,9 @@
> # Network configuration
> #
>
> -menu "Networking support"
> +###menu "Networking support"
>
> -config NET
> +menuconfig NET
> bool "Networking support"
> ---help---
> Unless you really know what you are doing, you should say Y here.
> @@ -650,8 +650,6 @@ endmenu
>
> endmenu
>
> -source "drivers/net/Kconfig"
> -
> source "net/ax25/Kconfig"
>
> source "net/irda/Kconfig"
> diff -Naurp ./init/Kconfig~net_config ./init/Kconfig
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>



2004-03-15 03:02:34

by Jeff Garzik

[permalink] [raw]
Subject: Re: [patch/RFC] networking menus

Randy.Dunlap wrote:
> Does this need to be discussed on netdev (also)?

I dunno if this change necessarily warrants a ton of discussion, but
please do copy [email protected] on all networking (net/*) net drivers
(drivers/net/*) issues. Some net developers are not subscribed to lkml,
and it allows for more focused discussion.

Jeff



2004-03-15 03:12:30

by Randy.Dunlap

[permalink] [raw]
Subject: Re: [patch/RFC] networking menus

On Sun, 14 Mar 2004 18:17:17 -0800 Nivedita Singhvi <[email protected]> wrote:

| Randy.Dunlap wrote:
|
| > This is just a first pass/RFC. It moves "Networking support" out of
| > the "Device Drivers" menu, which seems helpful to me. However,
| > ISTM that it should really just be the "Networking options" here
| > and not include Amateur Radio, IrDA, and Bluetooth support.
| > I.e., I think that those latter 3 should fall under Device Drivers.
| > Does that make sense to anyone else?
|
| Just a comment that those 3 subsystems are not just
| device drivers, they have non-trivial amount of code
| in the protocol stack under ../net/. So would moving
| them to device drivers be misleading in any way?
|
| I can see pulling out Networking support from under
| device drivers, though.

Agreed, I looked again and those 3 should stay under
"Networking support." I'm still looking for other items
to move to make it all easier to navigate.

| > Does this need to be discussed on netdev (also)?
|
| Yes. :)

OK. Thanks for cc-ing it.

| thanks,
| Nivedita
|
| >
| > // Linux 2.6.4
| > // Rearrange networking menus so that Networking support/options
| > // isn't buried inside Device Drivers.
| >
| > diffstat:=
| > drivers/Kconfig | 4 +++-
| > init/Kconfig | 0
| > net/Kconfig | 6 ++----
| > net/ax25/Kconfig | 7 ++-----
| > net/bluetooth/Kconfig | 4 +---
| > net/irda/Kconfig | 6 ++----
| > 6 files changed, 10 insertions(+), 17 deletions(-)
| >
| >
| > diff -Naurp ./drivers/Kconfig~net_config ./drivers/Kconfig
| > --- ./drivers/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
| > +++ ./drivers/Kconfig 2004-03-12 15:20:39.000000000 -0800
| > @@ -1,5 +1,7 @@
| > # drivers/Kconfig
| >
| > +source "net/Kconfig"
| > +
| > menu "Device Drivers"
| >
| > source "drivers/base/Kconfig"
| > @@ -28,7 +30,7 @@ source "drivers/message/i2o/Kconfig"
| >
| > source "drivers/macintosh/Kconfig"
| >
| > -source "net/Kconfig"
| > +source "drivers/net/Kconfig"
| >
| > source "drivers/isdn/Kconfig"
| >
| > diff -Naurp ./net/bluetooth/Kconfig~net_config ./net/bluetooth/Kconfig
| > --- ./net/bluetooth/Kconfig~net_config 2004-03-10 18:55:43.000000000 -0800
| > +++ ./net/bluetooth/Kconfig 2004-03-12 15:41:42.000000000 -0800
| > @@ -2,10 +2,8 @@
| > # Bluetooth subsystem configuration
| > #
| >
| > -menu "Bluetooth support"
| > +menuconfig BT
| > depends on NET
| > -
| > -config BT
| > tristate "Bluetooth subsystem support"
| > help
| > Bluetooth is low-cost, low-power, short-range wireless technology.
| > diff -Naurp ./net/irda/Kconfig~net_config ./net/irda/Kconfig
| > --- ./net/irda/Kconfig~net_config 2004-03-10 18:55:27.000000000 -0800
| > +++ ./net/irda/Kconfig 2004-03-12 15:39:39.000000000 -0800
| > @@ -2,11 +2,9 @@
| > # IrDA protocol configuration
| > #
| >
| > -menu "IrDA (infrared) support"
| > +menuconfig IRDA
| > depends on NET
| > -
| > -config IRDA
| > - tristate "IrDA subsystem support"
| > + tristate "IrDA (infrared) subsystem support"
| > ---help---
| > Say Y here if you want to build support for the IrDA (TM) protocols.
| > The Infrared Data Associations (tm) specifies standards for wireless
| > diff -Naurp ./net/ax25/Kconfig~net_config ./net/ax25/Kconfig
| > --- ./net/ax25/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
| > +++ ./net/ax25/Kconfig 2004-03-12 15:40:01.000000000 -0800
| > @@ -6,9 +6,8 @@
| > # Joerg Reuter DL1BKE <[email protected]>
| > # 19980129 Moved to net/ax25/Config.in, sourcing device drivers.
| >
| > -menu "Amateur Radio support"
| > -
| > -config HAMRADIO
| > +menuconfig HAMRADIO
| > + depends on NET
| > bool "Amateur Radio support"
| > help
| > If you want to connect your Linux box to an amateur radio, answer Y
| > @@ -109,5 +108,3 @@ source "drivers/net/hamradio/Kconfig"
| >
| > endmenu
| >
| > -endmenu
| > -
| > diff -Naurp ./net/Kconfig~net_config ./net/Kconfig
| > --- ./net/Kconfig~net_config 2004-03-10 18:55:21.000000000 -0800
| > +++ ./net/Kconfig 2004-03-12 15:24:30.000000000 -0800
| > @@ -2,9 +2,9 @@
| > # Network configuration
| > #
| >
| > -menu "Networking support"
| > +###menu "Networking support"
| >
| > -config NET
| > +menuconfig NET
| > bool "Networking support"
| > ---help---
| > Unless you really know what you are doing, you should say Y here.
| > @@ -650,8 +650,6 @@ endmenu
| >
| > endmenu
| >
| > -source "drivers/net/Kconfig"
| > -
| > source "net/ax25/Kconfig"
| >
| > source "net/irda/Kconfig"
| > diff -Naurp ./init/Kconfig~net_config ./init/Kconfig
| > -


--
~Randy

2004-03-15 04:59:37

by Randy.Dunlap

[permalink] [raw]
Subject: Re: [patch/RFC] networking menus

On Sun, 14 Mar 2004 19:07:24 -0800 "Randy.Dunlap" <[email protected]> wrote:

| On Sun, 14 Mar 2004 18:17:17 -0800 Nivedita Singhvi <[email protected]> wrote:
|
| | Randy.Dunlap wrote:
| |
| | > This is just a first pass/RFC. It moves "Networking support" out of
| | > the "Device Drivers" menu, which seems helpful to me. However,
| | > ISTM that it should really just be the "Networking options" here
| | > and not include Amateur Radio, IrDA, and Bluetooth support.
| | > I.e., I think that those latter 3 should fall under Device Drivers.
| | > Does that make sense to anyone else?
| |
| | Just a comment that those 3 subsystems are not just
| | device drivers, they have non-trivial amount of code
| | in the protocol stack under ../net/. So would moving
| | them to device drivers be misleading in any way?
| |
| | I can see pulling out Networking support from under
| | device drivers, though.
|
| Agreed, I looked again and those 3 should stay under
| "Networking support." I'm still looking for other items
| to move to make it all easier to navigate.

Does it make sense to anyone besides me to move protocol-related
modules like SLIP, PPP, and PLIP from Device Drivers/Network device(s)
to "Networking support"?
They feel more like protocols than device drivers to me....


| | > Does this need to be discussed on netdev (also)?
| |
| | Yes. :)
|
| OK. Thanks for cc-ing it.
|
| | thanks,
| | Nivedita


--
~Randy

2004-03-15 22:29:53

by Randy.Dunlap

[permalink] [raw]
Subject: PATCH] networking menus v2

v1 intro:

| BenH mentioned last week that the networking menus need some help.
| They are too twisted or confusing or something.
|
| I was already looking into this. Roman suggested s/config/menuconfig/,
| which is helpful.
|
| This is just a first pass/RFC. It moves "Networking support" out of
| the "Device Drivers" menu, which seems helpful to me. However,
| ISTM that it should really just be the "Networking options" here
| and not include Amateur Radio, IrDA, and Bluetooth support.
| I.e., I think that those latter 3 should fall under Device Drivers.
| Does that make sense to anyone else?
|
| Other comments?

Here is version 2. It's ready to be merged IMO. Please apply.

Any other comments/suggestions?

Thanks,
--
~Randy


// linux-2.6.4-bk4

// Networking support/options and Networking drivers have been, uhm,
// messy to navigate for some time now. They generally have grown in
// an ad hoc manner. BenH mentioned this last Friday, and I was
// already looking into options to clean it up. This patch puts some
// kind of order back into the networking menus.

// This is a cleanup of Networking support/options and Networking Drivers.
// It presents a more consistent interface and lists similar driver
// groups closer together.
// It moves Networking options out of the Network device drivers menu
// and into its own menu block.
// It also moves the IBMVETH driver so that it no longer breaks the
// dependency tree, allowing other drivers (nearby in Kconfig file)
// to be presented in a more linear manner.


diffstat:=
drivers/Kconfig | 4 ++-
drivers/net/Kconfig | 55 ++++++++++++++++++++++++--------------------------
net/Kconfig | 21 +++++++------------
net/ax25/Kconfig | 7 +-----
net/bluetooth/Kconfig | 6 -----
net/irda/Kconfig | 8 +------
6 files changed, 43 insertions(+), 58 deletions(-)


diff -Naurp ./drivers/net/Kconfig~net_config ./drivers/net/Kconfig
--- ./drivers/net/Kconfig~net_config 2004-03-15 12:56:22.000000000 -0800
+++ ./drivers/net/Kconfig 2004-03-15 13:48:23.000000000 -0800
@@ -3,7 +3,7 @@
# Network device configuration
#

-config NETDEVICES
+menuconfig NETDEVICES
depends on NET
bool "Network device support"
---help---
@@ -21,10 +21,6 @@ config NETDEVICES

If unsure, say Y.

-if NETDEVICES
- source "drivers/net/arcnet/Kconfig"
-endif
-
config DUMMY
tristate "Dummy net driver support"
depends on NETDEVICES
@@ -155,6 +151,10 @@ config NET_SB1000

If you don't have this card, of course say N.

+if NETDEVICES
+ source "drivers/net/arcnet/Kconfig"
+endif
+
#
# Ethernet
#
@@ -1178,6 +1178,17 @@ config IBMLANA
boards with this driver should be possible, but has not been tested
up to now due to lack of hardware.

+config IBMVETH
+ tristate "IBM LAN Virtual Ethernet support"
+ depends on NETDEVICES && NET_ETHERNET && PPC_PSERIES
+ ---help---
+ This driver supports virtual ethernet adapters on newer IBM iSeries
+ and pSeries systems.
+
+ To compile this driver as a module, choose M here and read
+ <file:Documentation/networking/net-modules.txt>. The module will
+ be called ibmveth.
+
config NET_PCI
bool "EISA, VLB, PCI and on board controllers"
depends on NET_ETHERNET && (ISA || EISA || PCI)
@@ -2103,6 +2114,17 @@ config IXGB_NAPI

endmenu

+source "drivers/net/tokenring/Kconfig"
+
+source "drivers/net/wireless/Kconfig"
+
+source "drivers/net/pcmcia/Kconfig"
+
+source "drivers/net/wan/Kconfig"
+
+source "drivers/atm/Kconfig"
+
+source "drivers/s390/net/Kconfig"

config VETH
tristate "iSeries Virtual Ethernet driver support"
@@ -2170,17 +2192,6 @@ config HIPPI
under Linux, say Y here (you must also remember to enable the driver
for your HIPPI card below). Most people will say N here.

-config IBMVETH
- tristate "IBM LAN Virtual Ethernet support"
- depends on NETDEVICES && NET_ETHERNET && PPC_PSERIES
- ---help---
- This driver supports virtual ethernet adapters on newer IBM iSeries
- and pSeries systems.
-
- To compile this driver as a module, choose M here and read
- <file:Documentation/networking/net-modules.txt>. The module will
- be called ibmveth.
-
config ROADRUNNER
tristate "Essential RoadRunner HIPPI PCI adapter support (EXPERIMENTAL)"
depends on HIPPI && PCI
@@ -2438,10 +2449,6 @@ config SLIP_MODE_SLIP6
end of the link as well. It's good enough, for example, to run IP
over the async ports of a Camtec JNT Pad. If unsure, say N.

-source "drivers/net/wireless/Kconfig"
-
-source "drivers/net/tokenring/Kconfig"
-
config NET_FC
bool "Fibre Channel driver support"
depends on NETDEVICES && SCSI && PCI
@@ -2501,11 +2508,3 @@ config NETCONSOLE
---help---
If you want to log kernel messages over the network, enable this.
See Documentation/networking/netconsole.txt for details.
-
-source "drivers/net/wan/Kconfig"
-
-source "drivers/net/pcmcia/Kconfig"
-
-source "drivers/atm/Kconfig"
-
-source "drivers/s390/net/Kconfig"
diff -Naurp ./drivers/Kconfig~net_config ./drivers/Kconfig
--- ./drivers/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
+++ ./drivers/Kconfig 2004-03-15 12:58:49.000000000 -0800
@@ -1,5 +1,7 @@
# drivers/Kconfig

+source "net/Kconfig"
+
menu "Device Drivers"

source "drivers/base/Kconfig"
@@ -28,7 +30,7 @@ source "drivers/message/i2o/Kconfig"

source "drivers/macintosh/Kconfig"

-source "net/Kconfig"
+source "drivers/net/Kconfig"

source "drivers/isdn/Kconfig"

diff -Naurp ./net/bluetooth/Kconfig~net_config ./net/bluetooth/Kconfig
--- ./net/bluetooth/Kconfig~net_config 2004-03-10 18:55:43.000000000 -0800
+++ ./net/bluetooth/Kconfig 2004-03-15 12:59:12.000000000 -0800
@@ -2,10 +2,8 @@
# Bluetooth subsystem configuration
#

-menu "Bluetooth support"
+menuconfig BT
depends on NET
-
-config BT
tristate "Bluetooth subsystem support"
help
Bluetooth is low-cost, low-power, short-range wireless technology.
@@ -62,5 +60,3 @@ source "net/bluetooth/cmtp/Kconfig"

source "drivers/bluetooth/Kconfig"

-endmenu
-
diff -Naurp ./net/irda/Kconfig~net_config ./net/irda/Kconfig
--- ./net/irda/Kconfig~net_config 2004-03-10 18:55:27.000000000 -0800
+++ ./net/irda/Kconfig 2004-03-15 12:59:12.000000000 -0800
@@ -2,11 +2,9 @@
# IrDA protocol configuration
#

-menu "IrDA (infrared) support"
+menuconfig IRDA
depends on NET
-
-config IRDA
- tristate "IrDA subsystem support"
+ tristate "IrDA (infrared) subsystem support"
---help---
Say Y here if you want to build support for the IrDA (TM) protocols.
The Infrared Data Associations (tm) specifies standards for wireless
@@ -95,5 +93,3 @@ config IRDA_DEBUG

source "drivers/net/irda/Kconfig"

-endmenu
-
diff -Naurp ./net/ax25/Kconfig~net_config ./net/ax25/Kconfig
--- ./net/ax25/Kconfig~net_config 2004-03-10 18:55:44.000000000 -0800
+++ ./net/ax25/Kconfig 2004-03-15 12:58:49.000000000 -0800
@@ -6,9 +6,8 @@
# Joerg Reuter DL1BKE <[email protected]>
# 19980129 Moved to net/ax25/Config.in, sourcing device drivers.

-menu "Amateur Radio support"
-
-config HAMRADIO
+menuconfig HAMRADIO
+ depends on NET
bool "Amateur Radio support"
help
If you want to connect your Linux box to an amateur radio, answer Y
@@ -109,5 +108,3 @@ source "drivers/net/hamradio/Kconfig"

endmenu

-endmenu
-
diff -Naurp ./net/Kconfig~net_config ./net/Kconfig
--- ./net/Kconfig~net_config 2004-03-15 12:56:23.000000000 -0800
+++ ./net/Kconfig 2004-03-15 13:38:59.000000000 -0800
@@ -2,9 +2,7 @@
# Network configuration
#

-menu "Networking support"
-
-config NET
+menuconfig NET
bool "Networking support"
---help---
Unless you really know what you are doing, you should say Y here.
@@ -648,16 +646,6 @@ config NET_PKTGEN

endmenu

-endmenu
-
-source "drivers/net/Kconfig"
-
-source "net/ax25/Kconfig"
-
-source "net/irda/Kconfig"
-
-source "net/bluetooth/Kconfig"
-
config NETPOLL
def_bool NETCONSOLE

@@ -675,3 +663,10 @@ config NET_POLL_CONTROLLER
def_bool NETPOLL

endmenu
+
+source "net/ax25/Kconfig"
+
+source "net/irda/Kconfig"
+
+source "net/bluetooth/Kconfig"
+

2004-03-16 16:51:18

by Ingo Oeser

[permalink] [raw]
Subject: Re: [patch/RFC] networking menus

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Monday 15 March 2004 05:54, Randy.Dunlap wrote:
> Does it make sense to anyone besides me to move protocol-related
> modules like SLIP, PPP, and PLIP from Device Drivers/Network device(s)
> to "Networking support"?
> They feel more like protocols than device drivers to me....

Or just create sth. like:

Stacks
+- IPv6
+- LLC
+- IrDA
+- Bluetooth

Protocols
+- PPP
+- SLIP
+- ...

Routing
+- Multicast
+- Advanced router

Filtering
Devices

Or similiar

Regards

Ingo Oeser

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAVt55U56oYWuOrkARAvGBAKCFh9DMVaKSlnj+X0CFuNFYgAc3CwCgv1vs
uet2gOmSQSwXJSo7hjpes2s=
=LfML
-----END PGP SIGNATURE-----