From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Benc Subject: Re: [PATCH v2 0/2] make POSIX timers optional Date: Wed, 21 Sep 2016 12:20:30 +0200 Message-ID: <20160921122030.408c97f1@griffin> References: <1474401400-18491-1-git-send-email-nicolas.pitre@linaro.org> <20160920202556.GA6713@localhost.localdomain> <20160920204556.GA7555@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Nicolas Pitre , Richard Cochran , John Stultz , Josh Triplett , netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Thomas Gleixner Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, 20 Sep 2016 23:09:52 +0200 (CEST), Thomas Gleixner wrote: > Now if you want to distangle PTP from a driver then you split it at the > driver level and not at the PTP level: > > DRIVER_X > tristate "Driver X" > > DRIVER_X_PTP > bool "Enable PTP support" > default y if !MAKE_IT_TINY > depends on DRIVER_X > select PTP Ouch. So, after the hassle to remove the VXLAN and GENEVE configs from tons of drivers, we'll add another one instead? That's just silly. If we did this for every thing we support in NICs, we would end up with something completely unmanageable. PTP should be really configured by a single switch. Btw., your suggestion does not work, select is not recursive. > We have already drivers following that scheme. That way you make the PTP > support in the driver conditional on DRIVER_X_PTP and have no hassle with > modules and dependencies. We've recently got rid of some of those, thankfully. Caused more harm than good. Jiri