From patchwork Sat Mar 5 13:08:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tilman Schmidt X-Patchwork-Id: 8510441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 295D2C0553 for ; Sat, 5 Mar 2016 13:11:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E46B0201CE for ; Sat, 5 Mar 2016 13:11:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C63F0201CD for ; Sat, 5 Mar 2016 13:11:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1acBxP-0008MI-LE; Sat, 05 Mar 2016 13:09:19 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1acBxM-0008K1-1C for linux-arm-kernel@lists.infradead.org; Sat, 05 Mar 2016 13:09:16 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 2713620512 for ; Sat, 5 Mar 2016 08:08:51 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Sat, 05 Mar 2016 08:08:51 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=imap.cc; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=AXecx OYHTt87s0dGIoXPWdx4sj8=; b=rp36oMRT3sEUJg/Phmp62fonBbLS2ilmX+Jzu +oEhyfTKU1NlJr9UnQq3w5tv0u5UToc1Rcy8F/gjSPs6O+Y8nXMZyp+Sky4R/wJn OYVsg+YPRcbOxRtN5a4ZJN2oAiAGNssFaqCnf6+cqRQD+HIXFyP0otOmPyfYZtFa sRDkkU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=AXecxOYHTt87s0dGIoXPWdx4sj8=; b=Cw0xu t3XOWonyV2pGuEIkgo2gCYkFP4Y9s3b5nptsC/B4CEKChb9vMRS1dpRTiBdNI1pO 1NgYa3MjVAnxlSa/Y877gxOvkkD2TQtLd2/prF/eRjCLwH6DBcXvJnf26hGyyRdm YJYvuLTSaDYP710hSXRxveGoE2gYjM7dq21qFo= X-Sasl-enc: i111vfSKKsQl9Jb/Qb4/P8h6OpiuNxrVDH4xwSt/j6P5 1457183330 Received: from [192.168.59.124] (p508da3c5.dip0.t-ipconnect.de [80.141.163.197]) by mail.messagingengine.com (Postfix) with ESMTPA id BAB2DC00012; Sat, 5 Mar 2016 08:08:47 -0500 (EST) Subject: Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging To: Paul Bolle , Arnd Bergmann References: <1456945629-1793533-1-git-send-email-arnd@arndb.de> <1456945629-1793533-2-git-send-email-arnd@arndb.de> <56D7F62E.6050502@linux-pingi.de> <1659125.tHp8H942OG@wuerfel> <1457108303.2651.112.camel@tiscali.nl> From: Tilman Schmidt Message-ID: <56DADA57.9010200@imap.cc> Date: Sat, 5 Mar 2016 14:08:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1457108303.2651.112.camel@tiscali.nl> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160305_050916_242316_3A661AA8 X-CRM114-Status: GOOD ( 16.12 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, isdn@linux-pingi.de, linux-doc@vger.kernel.org, Greg Kroah-Hartman , Jonathan Corbet , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Christoph Biedl , "David S. Miller" , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Am 04.03.2016 um 17:18 schrieb Paul Bolle: > [Added Tilman and Christoph.] > > On vr, 2016-03-04 at 16:24 +0100, Arnd Bergmann wrote: >> I actually did more patches that I ended up not submitting: >> >> * move hisax to staging >> * remove i4l support from gigaset > > For the record: I have no reason to object a patch that does that. (I'm > not aware anyone complained when gigaset switched its default from i4l > to capi. By now all relevant distributions should use our capi driver.) No objection from me either. When the Gigaset driver is built for CAPI it can still be used from i4l applications via capidrv with no loss of functionality. That was a primary goal of the CAPI port. >> * move i4l core to staging That's a different story. Removing i4l support will actually remove a userspace visible feature. > On a local tree I have two (draft) patches that do some related > preliminary work: > - isdnhdlc: move into separate directory > - mISDN: NETJet: stop selecting ISDN_I4L > > These trivial patches untangle mISDN and i4l. That would be a good thing regardless of any decision on the future of the i4l userspace interface. > For my part I'm surprised that anyone is still using it. But apparently > the hardware that required commit 19cebbcb04c8 and 3460baa62068 (which > I'm unfamiliar with) is still operational. And since there never has > been, as far as I know, a global i4l to capi migration nor a global i4l > (and capi) to mISDN migration it might be that some people are stuck on > i4l drivers for their hardware. Perhaps that explains Cristoph's > commits. The trouble is that mISDN never cared about migration or backward compatibility. So while users of i4l applications have no problem with i4l drivers being ported to CAPI and dropping native i4l support, they do have a problem with drivers making that move to mISDN. That is the situation of the hisax driver today. mISDN started as a project to migrate hisax to CAPI but regrettably dropped that goal in favor of a newly invented API leaving old i4l based applications behind. As a consequence, owners of HiSAX type adapters are in fact stuck with the old hisax driver if they want to continue using i4l userspace tools. In my opinion, i4l, capidrv and hisax need to stay in the supported part for the time being as they are still actively used. Native i4l support can and should be dropped for hardware with CAPI drivers (ie. gigaset) but not for hardware with only mISDN drivers (ie. hisax). And finally, ISDN_CAPI_CAPIDRV should be enabled automatically if both ISDN_I4L and ISDN_CAPI are enabled, ie. something like: Jm2c, Tilman --- a/drivers/isdn/capi/Kconfig +++ b/drivers/isdn/capi/Kconfig @@ -27,8 +27,8 @@ config ISDN_CAPI_MIDDLEWARE your ISP, say Y here. config ISDN_CAPI_CAPIDRV - tristate "CAPI2.0 capidrv interface support" - depends on ISDN_I4L + tristate + default ISDN_I4L help This option provides the glue code to hook up CAPI driven cards to the legacy isdn4linux link layer. If you have a card which is