serial: max310x: Add the loopback mode support
This patch replaces loopback mode support from platform data to dynamic setup with TIOCMSET ioctl. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f4fcc40b56
commit
e7b8a3ceff
2 changed files with 18 additions and 8 deletions
|
@ -46,7 +46,6 @@ struct max310x_pdata {
|
|||
#define MAX310X_EXT_CLK (0x00000001) /* External clock enable */
|
||||
/* Flags global to UART port */
|
||||
const u8 uart_flags[MAX310X_MAX_UARTS];
|
||||
#define MAX310X_LOOPBACK (0x00000001) /* Loopback mode enable */
|
||||
#define MAX310X_ECHO_SUPRESS (0x00000002) /* Enable echo supress */
|
||||
#define MAX310X_AUTO_DIR_CTRL (0x00000004) /* Enable Auto direction
|
||||
* control (RS-485)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue