diff options
| -rw-r--r-- | drivers/tty/serial/8250.c | 14 | ||||
| -rw-r--r-- | drivers/tty/serial/8250.h | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/tty/serial/8250.c b/drivers/tty/serial/8250.c index 2b0a4b63c5f7..eeadf1b8e093 100644 --- a/drivers/tty/serial/8250.c +++ b/drivers/tty/serial/8250.c | |||
| @@ -308,8 +308,6 @@ static const struct serial8250_config uart_config[] = { | |||
| 308 | .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 | | 308 | .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 | |
| 309 | UART_FCR_T_TRIG_01, | 309 | UART_FCR_T_TRIG_01, |
| 310 | .flags = UART_CAP_FIFO | UART_CAP_RTOIE, | 310 | .flags = UART_CAP_FIFO | UART_CAP_RTOIE, |
| 311 | .mcr_mask = ~UART_MCR_DTR, | ||
| 312 | .mcr_force = UART_MCR_DTR, | ||
| 313 | }, | 311 | }, |
| 314 | [PORT_XR17D15X] = { | 312 | [PORT_XR17D15X] = { |
| 315 | .name = "XR17D15X", | 313 | .name = "XR17D15X", |
| @@ -1231,10 +1229,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags) | |||
| 1231 | up->port.fifosize = uart_config[up->port.type].fifo_size; | 1229 | up->port.fifosize = uart_config[up->port.type].fifo_size; |
| 1232 | up->capabilities = uart_config[up->port.type].flags; | 1230 | up->capabilities = uart_config[up->port.type].flags; |
| 1233 | up->tx_loadsz = uart_config[up->port.type].tx_loadsz; | 1231 | up->tx_loadsz = uart_config[up->port.type].tx_loadsz; |
| 1234 | if (!ALPHA_KLUDGE_MCR) { | ||
| 1235 | up->mcr_mask = uart_config[up->port.type].mcr_mask; | ||
| 1236 | up->mcr_force = uart_config[up->port.type].mcr_force; | ||
| 1237 | } | ||
| 1238 | 1232 | ||
| 1239 | if (up->port.type == PORT_UNKNOWN) | 1233 | if (up->port.type == PORT_UNKNOWN) |
| 1240 | goto out; | 1234 | goto out; |
| @@ -1993,10 +1987,6 @@ static int serial8250_startup(struct uart_port *port) | |||
| 1993 | up->port.fifosize = uart_config[up->port.type].fifo_size; | 1987 | up->port.fifosize = uart_config[up->port.type].fifo_size; |
| 1994 | up->tx_loadsz = uart_config[up->port.type].tx_loadsz; | 1988 | up->tx_loadsz = uart_config[up->port.type].tx_loadsz; |
| 1995 | up->capabilities = uart_config[up->port.type].flags; | 1989 | up->capabilities = uart_config[up->port.type].flags; |
| 1996 | if (!ALPHA_KLUDGE_MCR) { | ||
| 1997 | up->mcr_mask = uart_config[up->port.type].mcr_mask; | ||
| 1998 | up->mcr_force = uart_config[up->port.type].mcr_force; | ||
| 1999 | } | ||
| 2000 | up->mcr = 0; | 1990 | up->mcr = 0; |
| 2001 | 1991 | ||
| 2002 | if (up->port.iotype != up->cur_iotype) | 1992 | if (up->port.iotype != up->cur_iotype) |
| @@ -2803,10 +2793,6 @@ serial8250_init_fixed_type_port(struct uart_8250_port *up, unsigned int type) | |||
| 2803 | up->port.fifosize = uart_config[type].fifo_size; | 2793 | up->port.fifosize = uart_config[type].fifo_size; |
| 2804 | up->capabilities = uart_config[type].flags; | 2794 | up->capabilities = uart_config[type].flags; |
| 2805 | up->tx_loadsz = uart_config[type].tx_loadsz; | 2795 | up->tx_loadsz = uart_config[type].tx_loadsz; |
| 2806 | if (!ALPHA_KLUDGE_MCR) { | ||
| 2807 | up->mcr_mask = uart_config[type].mcr_mask; | ||
| 2808 | up->mcr_force = uart_config[type].mcr_force; | ||
| 2809 | } | ||
| 2810 | } | 2796 | } |
| 2811 | 2797 | ||
| 2812 | static void __init | 2798 | static void __init |
diff --git a/drivers/tty/serial/8250.h b/drivers/tty/serial/8250.h index 1f7510051707..6edf4a6a22d4 100644 --- a/drivers/tty/serial/8250.h +++ b/drivers/tty/serial/8250.h | |||
| @@ -35,8 +35,6 @@ struct serial8250_config { | |||
| 35 | unsigned short tx_loadsz; | 35 | unsigned short tx_loadsz; |
| 36 | unsigned char fcr; | 36 | unsigned char fcr; |
| 37 | unsigned int flags; | 37 | unsigned int flags; |
| 38 | unsigned char mcr_mask; | ||
| 39 | unsigned char mcr_force; | ||
| 40 | }; | 38 | }; |
| 41 | 39 | ||
| 42 | #define UART_CAP_FIFO (1 << 8) /* UART has FIFO */ | 40 | #define UART_CAP_FIFO (1 << 8) /* UART has FIFO */ |
