Re: 8250 default uart number

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

 



On Wed, 2017-08-30 at 14:23 +0800, huibin.hong@xxxxxxxxxxxxxx wrote:
> Hello everyone
>     Many RK socs have 5 uart, and our customer may use more than 4
> uarts, but they don't know why
> there is not ttyS4, because we need to modify the follow config. Why
> limit the number 4?

Where did you get this configuration?

Moreover, 8250 module supports overriding of NR_UARTS at runtime.



>    
> config SERIAL_8250_NR_UARTS
>         int "Maximum number of 8250/16550 serial ports"
>         depends on SERIAL_8250
>         default "4"
>         help
>           Set this to the number of serial ports you want the driver
>           to support.  This includes any ports discovered via ACPI or
>           PCI enumeration and any ports that may be added at run-time
>           via hot-plug, or any ISA multi-port serial cards.
> 
> config SERIAL_8250_RUNTIME_UARTS
>         int "Number of 8250/16550 serial ports to register at runtime"
>         depends on SERIAL_8250
>         range 0 SERIAL_8250_NR_UARTS
>         default "4"
>         help
>           Set this to the maximum number of serial ports you want
>           the kernel to register at boot time.  This can be overridden
>           with the module parameter "nr_uarts", or boot-time parameter
>           8250.nr_uarts
> 

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux