From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Arnd Bergmann To: "Ira W. Snyder" Subject: Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks. Date: Thu, 19 Aug 2010 17:48:51 +0200 References: <201008191429.50008.arnd@arndb.de> <20100819152301.GB25193@ovro.caltech.edu> In-Reply-To: <20100819152301.GB25193@ovro.caltech.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Message-Id: <201008191748.51819.arnd@arndb.de> Cc: john stultz , Richard Cochran , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Rodolfo Giometti , devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Krzysztof Halasa List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thursday 19 August 2010, Ira W. Snyder wrote: > Perhaps you were thinking of the vhost example (taken from > drivers/vhost/Kconfig): > > config VHOST_NET > tristate "Host kernel accelerator for virtio net (EXPERIMENTAL)" > depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP) && EXPERIMENTAL > > They have a similar construct with both TUN and MACVTAP there. Perhaps > the parens are a necessary part of the "X || !X" syntax? Just a random > guess. Yes, that's the one I was thinking of. My mistake was that the effect is slightly different here. VHOST and TUN are both tristate. What we guarantee here is that if TUN is "m", VHOST cannot be "y", because its dependency cannot be fulfilled for y. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Thu, 19 Aug 2010 17:48:51 +0200 Subject: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks. In-Reply-To: <20100819152301.GB25193@ovro.caltech.edu> References: <201008191429.50008.arnd@arndb.de> <20100819152301.GB25193@ovro.caltech.edu> Message-ID: <201008191748.51819.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 19 August 2010, Ira W. Snyder wrote: > Perhaps you were thinking of the vhost example (taken from > drivers/vhost/Kconfig): > > config VHOST_NET > tristate "Host kernel accelerator for virtio net (EXPERIMENTAL)" > depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP) && EXPERIMENTAL > > They have a similar construct with both TUN and MACVTAP there. Perhaps > the parens are a necessary part of the "X || !X" syntax? Just a random > guess. Yes, that's the one I was thinking of. My mistake was that the effect is slightly different here. VHOST and TUN are both tristate. What we guarantee here is that if TUN is "m", VHOST cannot be "y", because its dependency cannot be fulfilled for y. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751427Ab0HSPsx (ORCPT ); Thu, 19 Aug 2010 11:48:53 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:61140 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750935Ab0HSPsu (ORCPT ); Thu, 19 Aug 2010 11:48:50 -0400 From: Arnd Bergmann To: "Ira W. Snyder" Subject: Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks. Date: Thu, 19 Aug 2010 17:48:51 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.35-8-generic; KDE/4.3.2; x86_64; ; ) Cc: Richard Cochran , Rodolfo Giometti , john stultz , devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Krzysztof Halasa References: <201008191429.50008.arnd@arndb.de> <20100819152301.GB25193@ovro.caltech.edu> In-Reply-To: <20100819152301.GB25193@ovro.caltech.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008191748.51819.arnd@arndb.de> X-Provags-ID: V02:K0:Kv+9S71V51OLauV2FvmLrd75Lp8qPym24BPqGjX4qql /9GIGKAehgBUD0IH5HrABBWSfblpJigRQZ5Q5r1kCOg2gaKBh0 jnCcw3qnYjsrnvE8M2xrz2bEufAEeIqAJfP99Qqc7hsZ7zLn7g /ti8gIj1DISzSmwAFKBPp3DA4i3luKfF4pEUP3ZWEuEw92UmEP tAALl3lcVrggGqDzlvieA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 19 August 2010, Ira W. Snyder wrote: > Perhaps you were thinking of the vhost example (taken from > drivers/vhost/Kconfig): > > config VHOST_NET > tristate "Host kernel accelerator for virtio net (EXPERIMENTAL)" > depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP) && EXPERIMENTAL > > They have a similar construct with both TUN and MACVTAP there. Perhaps > the parens are a necessary part of the "X || !X" syntax? Just a random > guess. Yes, that's the one I was thinking of. My mistake was that the effect is slightly different here. VHOST and TUN are both tristate. What we guarantee here is that if TUN is "m", VHOST cannot be "y", because its dependency cannot be fulfilled for y. Arnd