Messages in this thread | | | Date | Mon, 6 Feb 2006 14:41:54 -0500 | From | Dave Jones <> | Subject | Re: serial: SERIAL_8250_RUNTIME_UARTS must be <= SERIAL_8250_NR_UARTS |
| |
On Mon, Feb 06, 2006 at 09:42:19PM +1100, Yuki Cuss wrote: > David Vrabel wrote: > > >If SERIAL_8250_RUNTIME_UARTS is > SERIAL_8250_NR_UARTS then more serial > >ports are registered than we've allocated memory for. Prevent this by > >limiting SERIAL_8250_RUNTIME_UARTS in the serial Kconfig. > > > >Signed-off-by: David Vrabel <dvrabel@arcom.com> > > > > > > Is there any real use case for having *less* registered serial ports and > having some spare?
Having the ability to build a kernel image which supports many serial ports, whilst at the same same time when booted on the common-case systems with two serial ports, not creating so many /dev/ttyS* nodes or sysfs objects wasting ram that'll never be used or reclaimed.
Dave - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |