On 7 October 2016 at 17:03, Alistair Francis <alistai...@gmail.com> wrote: > On Fri, Oct 7, 2016 at 8:59 AM, Seth K <skint...@gmail.com> wrote: >> The stm32f205 should support 6 UARTs, and the 6 addresses and IRQs are coded >> correctly. However there is a hard-coded value MAX_SERIAL_PORTS limiting >> serial_hds to 4, and I don't know why. I am considering submitting a patch. > > I'm not sure why we have that limit, you can submit a patch and see > what everyone says.
Almost certainly purely historical reasons. MAX_SERIAL_PORTS has been 4 since it was introduced in commit 8d11df9e5aa584 in 2004, because the x86 PC has 4 serial ports. Presumably nobody since has found the limit annoying enough to adjust. thanks -- PMM