Skip to content

Commit 5b51745

Browse files
dlechProject516
authored andcommitted
ev3dev hack: add more line discipline constants
Signed-off-by: David Lechner <[email protected]>
1 parent 064882f commit 5b51745

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/uapi/linux/tty.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,10 @@
3939
#define N_MCTP 28 /* MCTP-over-serial */
4040
#define N_DEVELOPMENT 29 /* Manual out-of-tree testing */
4141
#define N_CAN327 30 /* ELM327 based OBD-II interfaces */
42+
#define N_LEGOEV3 31 /* LEGO MINDSTORMS EV3 UART Sensor */
43+
#define N_D_UART 32 /* LMS2012 UART */
4244

4345
/* Always the newest line discipline + 1 */
44-
#define NR_LDISCS 31
46+
#define NR_LDISCS 33
4547

4648
#endif /* _UAPI_LINUX_TTY_H */

0 commit comments

Comments
 (0)