Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1051802ybi; Wed, 3 Jul 2019 08:42:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHeM1FRwDOz2o9Hs6S9vDsHr/IQQ9tExNxxdlK22V6ME/jliRzf3E3YLgSRnnlf4GB/rcr X-Received: by 2002:a17:902:44a4:: with SMTP id l33mr43008725pld.174.1562168528342; Wed, 03 Jul 2019 08:42:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562168528; cv=none; d=google.com; s=arc-20160816; b=ojIgQQ3efmOXofC+o/AGnTRHwK0VszbJfqiv6Gh1xLJl3BvI3xHuhQ6CEzfQSb/4Nu +eAehufLMyHvMt7l44JZJjbwsFnbSfVMlyUwtbbfT0TdnlFucSvh9ozD2aSxzR4H7Mnj wyXFGBeLnTFgRZyQRLWDFe7vzIHpMQuqIH4e0PwUKNdTkOm4APR8C1a9WfBdHDHEdcKT VLVwuyv/hNHNhfw+gitHgWNlswJ/Y5KLMSP1fQfyK89W8mQdWrjl9kW/fE+4QoH2PgzM 4XSyq3B34GdqmjUNkcEW0Kd+9jVgxHatnBP1pTZzrKGOQRZyWGhAjylEzUBUs6LeafZC 2Qgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:subject:from; bh=PU9PnHM5JY/bWHOtG28bc+FQXdu4Rrv5urnaxvRrrso=; b=yh+dcaA6+xDzqMUbpX7KZEBfau3nOzxtejFelZOoLQNKMb8Kcp95BVD4Mg+V1ba6jo eTRA91nEwBmqIB0dQEyewbBvDR/dIyLofvcWKXxzmbAYLR43HjhcIjLJO+xRcSGZLBjR dgKuGi+dtZltLBN1JRss02pAFRM4qTi80/YjHFGmQD39HUYcjEnqZEhLSJSimzgR0/KI 3wAPi1/YYn13H4o5Vnkekxitstu1Av5xmUsMFOhxZBB+ZZytfMtIyrkIhc0ccmc1sGD8 la6ICBLaCrpT8qh/IH98/TbUvwSfXfbBFCE8jKBDydz6fjTjCrUjOiPSzaS47vPiuP08 UQyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bd11si2430450plb.184.2019.07.03.08.41.52; Wed, 03 Jul 2019 08:42:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726652AbfGCPle (ORCPT + 99 others); Wed, 3 Jul 2019 11:41:34 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:44681 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725847AbfGCPld (ORCPT ); Wed, 3 Jul 2019 11:41:33 -0400 Received: from [192.168.1.110] ([95.114.150.241]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MFbBO-1hkOCm1z9a-00H6sP; Wed, 03 Jul 2019 17:41:26 +0200 From: "Enrico Weigelt, metux IT consult" Subject: [PATCH V2 1/2] serial/8250: Add support for NI-Serial PXI/PXIe+485 devices To: Greg KH Cc: jeyentam , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190703072435.34152-1-je.yen.tam@ni.com> <63697b10-98a7-86b7-2513-3eb793ed03c5@metux.net> <20190703144744.GB24961@kroah.com> Organization: metux IT consult Message-ID: Date: Wed, 3 Jul 2019 17:41:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190703144744.GB24961@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:3dOcmIGEkAM08//41I7vay90MaBpkwX4UMW2+gVi+GNdg85Nbam yXF03WAXoE9vFBQVhT41c7XGC16rlJng1HdO8y+vA2VxevGZkYBxZZ+ZNhk9IS3Cs7l0tMl rKQBkpFnJJMxLDGyOXfFRurBvE1Jzvs+W71kxkeZkDF3LOrFAnTq6pAH/0XXP5lmhOR/FWH YLutAL7ErTJ04AGhyXT9A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:x0KH2hHZ5zg=:N47WCePoky0Mhppuxc+Trt oG4amhbYb74t602pHHzdYa/tyZ67ae1OcvWI/i/LOwPykG++L5sDMkBXL/XxwbzZtpbBEICgR A5eSpJV253ybL5m4UZywStJsoIdpkHM3ZlthBCAvpQJPly3kf2XyVtChRb2lLIAgVs97p582R 0WSHwNg9WUU/yZpBDIDc5lR2yNsp7a1Vv4vtWpa8CcffbBwbH5EtedUodGIEEgb5tQlkMfmHK EKAkjayYPFUjsZkbNAYfKG5y8v0zd9VQTvTxIU/DhckcoGivJpnZzIbt0iNU32nxn5w1JFq44 WOVfDBFJPkoOWHLcwQcQUlw2sDK6bCXp11n7FYLZr8T1Pj1JGuCweBD5E80KVUwjr6C3IChy7 wgh2iN9XT+7553P6WyXIJl52PNv+cPh4IdZs/mz55GfA1wimxo7zIqTjdsNmbX7BCSsN7QQrL 622SYKRw4H6Qsv1iwZQis2sxegOXFpy/Xytq09CedyzE1fJiHJDvx6Cet2tTIruF8dn4EWJdU QlGoJPAJ/WLgbSZJJ6RxRG0VrB7qZnQ9Vc7YgdYzt6q9wS2v5Ff+j73qqA+yevJp9EMZTspQR SBjz4QDsMQNJi9vhZSDfj1m10UkEU/h5Zs/v5P1LwJ749bGxp8YPtSeOjFgXjffQqrWykANJJ M+VY3u4Lx3lNy6+tlTE0y7ePoS87HWXFVef/u5S6SBgzeK5shU8yYtlMDSGBkNm/9Lq++rFZK UJ5g8b6xYV8vntimcsJiUo314WvV0zWY6/FeeuFoXq5d9+O1D56z8fZKHiQ= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03.07.19 16:47, Greg KH wrote: > On Wed, Jul 03, 2019 at 03:27:11PM +0200, Enrico Weigelt, metux IT consult wrote: >>> /* UART Port Control Register */> -#define NI8430_PORTCON 0x0f> -#define NI8430_PORTCON_TXVR_ENABLE (1 << 3) >> Can we have that renaming as a separate patch, to ease review ? >> >> And what about introducing a config sym for the new device specific >> stuff ? These devices seem to be pretty rare - never seen them in >> embeded world, where we do need to care of kernel size. > > No, that's not the way this driver works, sorry. That's sad, because in embedded world we often have to care about code size, so making those devices optional would be of great help. OTOH, the 8250 driver already has several such options. What's your concern about adding another one for a new device ? Config variant inflation ? Would putting it behind CONFIG_EXPERT or CONFIG_EMBEDDED an option ? thx. --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering info@metux.net -- +49-151-27565287