Re: [PATCH] serial: 8250: Make SERIAL8250_CONFIG_RUNTIME_UARTS work correctly

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

 



On Thu, Mar 28, 2013 at 03:20:43PM -0500, Karthik Manamcheri wrote:
> Currently, if you set SERIAL8250_CONFIG_RUNTIME_UARTS

There is no such config option, please get it correct.

> to 0, you cannot get any working ports.

Isn't that on purpose?  Why would you ever set that value to 0 and
expect things to work?

> This change will enable serial8250_register_port to successfully
> register a port even if SERIAL8250_CONFIG_RUNTIME_UARTS
> is 0. If you need legacy ports, you will set the
> SERIAL8250_CONFIG_RUNTIME_UARTS to the number of legacy
> ports you need created at boot time.

I don't understand, if you set the option to be 0, how can anything
work here?

greg k-h
--
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