[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 <[email protected]>
This commit is contained in:
Dave Jones 2006-01-07 23:18:19 +00:00 • committed by Russell King
commit a61c2d78ce
3 changed files with 30 additions and 10 deletions

View file

@ -998,6 +998,8 @@ running once the system is up.
nowb [ARM]
nr_uarts= [SERIAL] maximum number of UARTs to be registered.
opl3= [HW,OSS]
Format: <io>