serial/8250: Increase number of serial ports detected to 32

Yegor Yefremov yegorslists at googlemail.com
Fri Nov 12 16:11:23 UTC 2010


On Fri, Nov 12, 2010 at 9:47 AM, Andy Whitcroft <apw at canonical.com> wrote:
> On Thu, Nov 11, 2010 at 09:18:22AM +0100, Yegor Yefremov wrote:
>> Hello,
>>
>> our company is developing multi port serial cards among other
>> products. The main problem is, when the customers first install this
>> devices especially those with 8 ports, they get only 2-3 ports
>> detected, cause CONFIG_SERIAL_8250_RUNTIME_UARTS is set to 4. There
>> are also many such requests all over the net. Serial interface is
>> still not dead in spite of new technologies. So this change is really
>> needed. I tried to propagate this change to serial tree maintainers,
>> but it ended in proposal to change this through Linux distribution
>> maintainers. After all they configure the kernels themselves, not
>> necessarily using kernel default values. See this thread:
>> http://www.spinics.net/lists/linux-serial/msg03020.html
>>
>> What do you think about this? Should I open a bug request?
>
> I would be interested to know if there are any downsides to increasing
> this, are static structures sized based on it etc.

Actually you have already spent this memory with defining
CONFIG_SERIAL_8250_NR_UARTS = 48. So there is almost no difference.

> A bug is probabally appropriate, please do reply with the number on this
> thread so we can find it easily.

I'll open a bug request next week. As for now see the same bug request
by opensuse: https://bugzilla.novell.com/show_bug.cgi?id=652954.

Yegor




More information about the kernel-team mailing list