[SERIAL] Make the number of UARTs registered configurable.
authorDave Jones <davej@redhat.com>
Sat, 7 Jan 2006 23:18:19 +0000 (23:18 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 7 Jan 2006 23:18:19 +0000 (23:18 +0000)
commita61c2d78ce61e67baf27c43f6721db87a27ac762
treec27d0df1c743cff54f15f7476c86ced8917047e5
parentf61051cd2fc58546f28c226933942d4360810ffb
[SERIAL] Make the number of UARTs registered configurable.

Also add a nr_uarts module option to the 8250 code to override
this, up to a maximum of CONFIG_SERIAL_8250_NR_UARTS

This should appease people who complain about a proliferation
of /dev/ttyS & /sysfs nodes whilst at the same time allowing
a single kernel image to support the rarer occasions of
lots of devices.

Signed-off-by: Dave Jones <davej@redhat.com>
Documentation/kernel-parameters.txt
drivers/serial/8250.c
drivers/serial/Kconfig