diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:54:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-12-18 17:54:02 +0000 |
commit | b86e82e5cc54f03f9207411197e15f431d2173ff (patch) | |
tree | 4dd3c3dbab10b500f140c685de43ee19057b2d5f /target/linux/s3c24xx/patches-2.6.30/080-nr-tty-devices.patch | |
parent | db831511d2091907eef52519ebcc47f54cfd6d33 (diff) | |
download | mtk-20170518-b86e82e5cc54f03f9207411197e15f431d2173ff.zip mtk-20170518-b86e82e5cc54f03f9207411197e15f431d2173ff.tar.gz mtk-20170518-b86e82e5cc54f03f9207411197e15f431d2173ff.tar.bz2 |
s3c2442: R.I.P.
It is broken and it is not maintained by anyone since long time.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34767
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.30/080-nr-tty-devices.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.30/080-nr-tty-devices.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.30/080-nr-tty-devices.patch b/target/linux/s3c24xx/patches-2.6.30/080-nr-tty-devices.patch deleted file mode 100644 index e58152d..0000000 --- a/target/linux/s3c24xx/patches-2.6.30/080-nr-tty-devices.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- a/include/linux/vt.h -+++ b/include/linux/vt.h -@@ -18,8 +18,19 @@ extern int unregister_vt_notifier(struct - * resizing). - */ - #define MIN_NR_CONSOLES 1 /* must be at least 1 */ -+#if (CONFIG_NR_TTY_DEVICES < 4) -+/* Lower Limit */ -+#define MAX_NR_CONSOLES 4 /* serial lines start at 64 */ -+#define MAX_NR_USER_CONSOLES 4 /* must be root to allocate above this */ -+#elif (CONFIG_NR_TTY_DEVICES > 63) -+/* Upper Limit */ - #define MAX_NR_CONSOLES 63 /* serial lines start at 64 */ - #define MAX_NR_USER_CONSOLES 63 /* must be root to allocate above this */ -+#else -+/* They chose a sensible number */ -+#define MAX_NR_CONSOLES CONFIG_NR_TTY_DEVICES -+#define MAX_NR_USER_CONSOLES CONFIG_NR_TTY_DEVICES -+#endif - /* Note: the ioctl VT_GETSTATE does not work for - consoles 16 and higher (since it returns a short) */ - ---- 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 |