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

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

 



A: No.
Q: Should I include quotations after my reply?

http://daringfireball.net/2007/07/on_top


On Thu, Mar 28, 2013 at 05:07:18PM -0500, Karthik Manamcheri wrote:
> The config option should have been SERIAL_8250_RUNTIME_UARTS. I mis-typed the
> name of the config option.
> 
> Consider a situation where I have an ARM based system and therefore no legacy
> ports. Say, I have two memory-mapped ports. I use device tree to describe the
> ports. What would be the config options I set so that I get only the two ports
> in my system? I do not want legacy ports being created automatically and I want
> it to be flexible enough that it creates the devices based only on the device
> tree. I expected setting SERIAL_8250_RUNTIME_UARTS = 0 to work because the
> description said, "Set this to the maximum number of serial ports you want the
> kernel to register at boot time." Unfortunately, even though
> SERIAL_8250_NR_UARTS was set to a default value of 4, I did not get any device
> nodes (because SERIAL_8250_RUNTIME_UARTS was 0). This is what this patch is
> trying to address.
> 
> SERIAL_8250_NR_UARTS controls the maximum number of ports you can support.
> SERIAL_8250_RUNTIME_UARTS specifies the number of ports you want to create
> automatically for legacy ports at boot time. All other ports will be created
> when serial8250_register_port is called (and if does not exceed the total
> number of supported ports as specified by SERIAL_8250_NR_UARTS).

Great, care to put all of that into the changelog section of the patch
and resend it after fixing the config option as well?

thanks,

greg "I have to drag it out of people" 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