Messages in this thread Patch in this message |  | | | From | pavan_savoy@ti ... | | Subject | [PATCH 1/6] serial: TTY: new ldisc for TI BT/FM/GPS chips | | Date | Mon, 22 Mar 2010 16:19:11 -0500 |
| |
From: Pavan Savoy <pavan_savoy@ti.com>
A new N_TI_SHARED line discipline added for TI BT/FM/GPS combo chips which make use of same TTY to communicate with chip. This is to be made use of individual protocol BT/FM/GPS drivers.
Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> --- include/linux/tty.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/linux/tty.h b/include/linux/tty.h index 4409967..3eda091 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -23,7 +23,7 @@ */ #define NR_UNIX98_PTY_DEFAULT 4096 /* Default maximum for Unix98 ptys */ #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */ -#define NR_LDISCS 20 +#define NR_LDISCS 21 /* line disciplines */ #define N_TTY 0 @@ -48,6 +48,7 @@ #define N_PPS 18 /* Pulse per Second */ #define N_V253 19 /* Codec control over voice modem */ +#define N_TI_SHARED 20 /* for TI's WL7 connectivity chips */ /* * This character is the same as _POSIX_VDISABLE: it cannot be used as -- 1.5.4.3
|  |