netdev
[Top] [All Lists]

Re: [RFC/PATCH] network configs: disconnect network options from drivers

To: Sam Ravnborg <sam@xxxxxxxxxxxx>
Subject: Re: [RFC/PATCH] network configs: disconnect network options from drivers
From: "Randy.Dunlap" <rddunlap@xxxxxxxx>
Date: Thu, 31 Mar 2005 12:02:13 -0800
Cc: ioe-lkml@xxxxxxxx, matthew@xxxxxx, lkml <linux-kernel@xxxxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, hadi@xxxxxxxxxx, cfriesen@xxxxxxxxxx, tgraf@xxxxxxx
In-reply-to: <20050331185226.GA8146@xxxxxxxxxxxxxxxxx>
Organization: OSDL
References: <20050330234709.1868eee5.randy.dunlap@xxxxxxxxxxx> <20050331185226.GA8146@xxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Sam Ravnborg wrote:
On Wed, Mar 30, 2005 at 11:47:09PM -0800, Randy.Dunlap wrote:

- some Networking options need to be qualified with CONFIG_NET

You can something along the lines os:

menu "Networking options and protocols"
config NET
        bool "Networking support"
        default y

if NET

...

menu "Network device support"
...
endmenu

...

endif
endmenu

Then everything wrapped in between if NET/endif is dependent on NET
without stating this explicitly.
You will alos have the menu nice indented.

Yes, sounds good, thanks.

And I'll look into Thomas's suggestions.

Other than "sounds good," are there some comments on:

a.  leaving IrDA and Bluetooth subsystem (with drivers) where they
    are, which is under "Network options and protocols"
        (I really don't want to split their drivers away from their
        subsystem, just to put them under Network driver support.)

b.  leaving SLIP, PPP, and PLIP where they are under Network driver
    support, even though they say that they are "protocols" ?

Any others?

Thanks,
--
~Randy

<Prev in Thread] Current Thread [Next in Thread>