[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



2010/11/15 Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
> Hi Bastian,
>
> On Thu, Nov 11, 2010 at 12:50:00PM +0100, Bastian Blank wrote:
>> On Thu, Nov 11, 2010 at 12:22:46PM +0100, Yegor Yefremov wrote:
>> > 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 few ports
>> > detected, cause CONFIG_SERIAL_8250_RUNTIME_UARTS is set to 4 (at least
>> > by Lenny).
>>
>> SERIAL_8250_NR_UARTS needs to be changed first.
>>
>> >                                                     Serial interface is
>> > still not dead in spite of new technologies. So this change is really
>> > needed.
>>
>> Well, someone could change the 8250 driver to actually allow
>> adding/removing ports on runtime, like everything else does it,
>> including the whole bunch of usb-serial drivers. The the time beeing,
>> there is a parameter nr_uarts.
> This popped up recently on linux-arm-kernel ML:
>
>        http://thread.gmane.org/gmane.linux.ports.arm.kernel/92400/focus=93334
>
> So it seems there is more general work to do first.
> (Note, I don't know the details, I'm just trying to get the right people
> in the discussion.)

That's really a time to make the allocation dynamic. But for the time
being it won't hurt to increase the number of detected serial cards.
openSUSE has already accepted such approach:
https://bugzilla.novell.com/show_bug.cgi?id=652954.

Regards,
Yegor


Reply to: