From 2eb5618de87927e540055edc625b22f2d5662ab5 Mon Sep 17 00:00:00 2001 From: Qipan Li Date: Thu, 15 Aug 2013 06:52:15 +0800 Subject: serial: sirf: fix the hardware-flow-ctrl for USP-based UART for USP-based UART, we use two gpios as RTS and CST pins. Signed-off-by: Qipan Li Signed-off-by: Barry Song Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/sirfsoc_uart.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'drivers/tty/serial/sirfsoc_uart.h') diff --git a/drivers/tty/serial/sirfsoc_uart.h b/drivers/tty/serial/sirfsoc_uart.h index 2b41b06..e87035a 100644 --- a/drivers/tty/serial/sirfsoc_uart.h +++ b/drivers/tty/serial/sirfsoc_uart.h @@ -363,14 +363,16 @@ struct sirfsoc_baudrate_to_regv { }; struct sirfsoc_uart_port { - unsigned char hw_flow_ctrl; - unsigned char ms_enabled; + bool hw_flow_ctrl; + bool ms_enabled; struct uart_port port; struct clk *clk; /* for SiRFmarco, there are SET/CLR for UART_INT_EN */ bool is_marco; struct sirfsoc_uart_register *uart_reg; + unsigned int cts_gpio; + unsigned int rts_gpio; }; /* Hardware Flow Control */ -- cgit v1.1