From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Sat, 11 May 2024 08:53:19 +0000 Subject: [PATCH] change otg to host mode --- kernel/arch/mips/include/uapi/asm/ioctls.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/arch/mips/include/uapi/asm/ioctls.h b/kernel/arch/mips/include/uapi/asm/ioctls.h index 890245a..16aa8a7 100644 --- a/kernel/arch/mips/include/uapi/asm/ioctls.h +++ b/kernel/arch/mips/include/uapi/asm/ioctls.h @@ -93,6 +93,8 @@ #define TIOCGPTLCK _IOR('T', 0x39, int) /* Get Pty lock state */ #define TIOCGEXCL _IOR('T', 0x40, int) /* Get exclusive mode state */ #define TIOCGPTPEER _IO('T', 0x41) /* Safely open the slave */ +#define TIOCGISO7816 _IOR('T', 0x42, struct serial_iso7816) +#define TIOCSISO7816 _IOWR('T', 0x43, struct serial_iso7816) /* I hope the range from 0x5480 on is free ... */ #define TIOCSCTTY 0x5480 /* become controlling tty */ -- Gitblit v1.6.2