[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d6910b29-3ba6-4a3b-04e2-bc7c3c012554@metux.net>
Date: Wed, 3 Jul 2019 17:41:25 +0200
From: "Enrico Weigelt, metux IT consult" <lkml@...ux.net>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: jeyentam <je.yen.tam@...com>, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH V2 1/2] serial/8250: Add support for NI-Serial PXI/PXIe+485
devices
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@...ux.net -- +49-151-27565287
Powered by blists - more mailing lists