[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f08515a-3498-709e-d72b-538a54b704ad@metux.net>
Date: Thu, 4 Jul 2019 20:17:56 +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: Re: [PATCH V2 1/2] serial/8250: Add support for NI-Serial
PXI/PXIe+485 devices
On 03.07.19 17:59, Greg KH wrote:
>> 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.
>
> Really? are you sure? Try it and see what you really end up saving.
Just in 8250_pci.c alone, I could (depending on actual target) drop
about 80% LoC. Haven't tested how much the difference in image size
will really be.
But if you really like to know and would consider taking some patches
for making those things optional, I'll take some time and do the
dirty work.
By the way: would you still be opposed when these options are masked
behind CONFIG_EXPERT or CONFIG_EMBEDDED ? I can imagine this could be a
good compromise.
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@...ux.net -- +49-151-27565287
Powered by blists - more mailing lists