aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authormokopatches <mokopatches@openmoko.org>2008-11-19 17:03:17 +0000
committerwarmcat <andy@warmcat.com>2008-11-19 17:03:17 +0000
commit3c948e4702df9fd846633f71adb8a7912811834c (patch)
tree39df530bd602aa48125b5828926d2a625c979394 /drivers/char
parent33e6d7ec683f0d56868fc01cf052d5765081fd6d (diff)
config-nr-tty-devices.patch
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index 43b35d0369d..1bc4eaf1f7f 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -66,6 +66,18 @@ config VT_CONSOLE
If unsure, say Y.
+config NR_TTY_DEVICES
+ int "Maximum tty device number"
+ depends on VT
+ default 63
+ ---help---
+ This is the highest numbered device created in /dev. You will actually have
+ NR_TTY_DEVICES+1 devices in /dev. The default is 63, which will result in
+ 64 /dev entries. The lowest number you can set is 11, anything below that,
+ and it will default to 11. 63 is also the upper limit so we don't overrun
+ the serial consoles.
+
+
config HW_CONSOLE
bool
depends on VT && !S390 && !UML