From patchwork Sun Mar 16 17:44:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tilman Schmidt X-Patchwork-Id: 330723 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7FB232C00A5 for ; Mon, 17 Mar 2014 04:44:33 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753636AbaCPRoY (ORCPT ); Sun, 16 Mar 2014 13:44:24 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59282 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753406AbaCPRoX (ORCPT ); Sun, 16 Mar 2014 13:44:23 -0400 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id A65CA20D40; Sun, 16 Mar 2014 13:44:22 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Sun, 16 Mar 2014 13:44:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=imap.cc; h= message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=L+/b3AtRY9a2C83JZjSSW7V/o8k=; b=pjQkFo3jUIvOAt7ofctlka9VzGRk 28tMm27XKFA0U6Xm8EoFiwZurMg85bW5A/EJnVh0d2NIZ0lo5Vp/i+zoo9yGZR6L jLqq33+iQfPrcatEPUMvKE4z4pT50D4LC2EJXJI1rol7Rh3T82N8t6DlYhZQVwjZ e1whksZ3fO9CFq4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=L+/b3AtRY9a2C83JZjSSW7 V/o8k=; b=JGov+FIQZwOa72qmKF04DfmclMqVZB0o+6IgpvB36dErXpfNoZsdj1 trzfXVDGNfolnVPU3q+XBlNh+dk+dSk1pbkqPHb2d++DtzbEGfyXRqSdGP+i4i/s f3boqZuo0IzpkgQqK7MzMx10lagmqMGM1kkYqBD8jLuFDuwyLnv58= X-Sasl-enc: 6MdVbe2JdDNqoqzir5XRh4o96WxYg+ix79bly1x2/i0H 1394991862 Received: from [192.168.59.102] (unknown [87.165.113.4]) by mail.messagingengine.com (Postfix) with ESMTPA id D679B6802B7; Sun, 16 Mar 2014 13:44:21 -0400 (EDT) Message-ID: <5325E2F5.5030204@imap.cc> Date: Sun, 16 Mar 2014 18:44:21 +0100 From: Tilman Schmidt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: netdev CC: Paul Bolle , isdn4linux@listserv.isdn4linux.de, "Keil, Karsten" Subject: [PATCH] isdn/capi: Make Middleware depend on CAPI2.0 References: <1394919189.13157.1.camel@x220> In-Reply-To: <1394919189.13157.1.camel@x220> X-Enigmail-Version: 1.6 X-Forwarded-Message-Id: <1394919189.13157.1.camel@x220> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Paul Bolle The Kconfig symbol ISDN_CAPI_MIDDLEWARE is only used in capi.c. Setting it without setting ISDN_CAPI_CAPI20 is therefor useless. Make it depend on ISDN_CAPI_CAPI20 and put its entry after ISDN_CAPI_CAPI20's entry. Signed-off-by: Paul Bolle Signed-off-by: Tilman Schmidt --- drivers/isdn/capi/Kconfig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/isdn/capi/Kconfig b/drivers/isdn/capi/Kconfig index f046865..9816c51 100644 --- a/drivers/isdn/capi/Kconfig +++ b/drivers/isdn/capi/Kconfig @@ -16,9 +16,17 @@ config CAPI_TRACE This will increase the size of the kernelcapi module by 20 KB. If unsure, say Y. +config ISDN_CAPI_CAPI20 + tristate "CAPI2.0 /dev/capi support" + help + This option will provide the CAPI 2.0 interface to userspace + applications via /dev/capi20. Applications should use the + standardized libcapi20 to access this functionality. You should say + Y/M here. + config ISDN_CAPI_MIDDLEWARE bool "CAPI2.0 Middleware support" - depends on TTY + depends on ISDN_CAPI_CAPI20 && TTY help This option will enhance the capabilities of the /dev/capi20 interface. It will provide a means of moving a data connection, @@ -26,14 +34,6 @@ config ISDN_CAPI_MIDDLEWARE device. If you want to use pppd with pppdcapiplugin to dial up to your ISP, say Y here. -config ISDN_CAPI_CAPI20 - tristate "CAPI2.0 /dev/capi support" - help - This option will provide the CAPI 2.0 interface to userspace - applications via /dev/capi20. Applications should use the - standardized libcapi20 to access this functionality. You should say - Y/M here. - config ISDN_CAPI_CAPIDRV tristate "CAPI2.0 capidrv interface support" depends on ISDN_I4L