[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121126.171120.650732118714345236.davem@davemloft.net>
Date: Mon, 26 Nov 2012 17:11:20 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: rdunlap@...radead.org
Cc: bhutchings@...arflare.com, netdev@...r.kernel.org,
viresh.kumar@...aro.org
Subject: Re: [PATCH net-next] dsa: Hide core config options; make drivers
select what they need
From: Randy Dunlap <rdunlap@...radead.org>
Date: Mon, 26 Nov 2012 11:53:20 -0800
> On 11/26/2012 11:16 AM, Ben Hutchings wrote:
>
>> Commit 82167cb8c6b2f8166d5c7532e5ef4b5e0cc46a72 ('net: dsa/slave: Fix
>> compilation warnings') fixed one possible invalid configuration
>> (NET_DSA enabled with no trailer formats) but added others: drivers
>> can select NET_DSA without its dependencies being met.
>>
>> It's not very useful to make either the DSA core or the tagging
>> formats manually selectable without a driver to use them, so:
>>
>> 1. Define a hidden HAVE_NET_DSA option and move the dependencies of
>> NET_DSA to that. While we're at it, drop the deprecated
>> EXPERIMENTAL dependency.
>> 2. Make NET_DSA and the drivers dependent on HAVE_NET_DSA.
>> 3. Hide the tagging format options again.
>> 4. Make drivers select both NET_DSA and the appropriate tagging format
>> option.
>>
>> Signed-off-by: Ben Hutchings <bhutchings@...arflare.com>
>
> Acked-by: Randy Dunlap <rdunlap@...radead.org>
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists