Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: treewide: Remove empty implementations of enable_ms()

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alexander Shiyan and committed by
Greg Kroah-Hartman
8b152f10 1fdc3106

-239
-5
drivers/tty/serial/21285.c
··· 78 78 } 79 79 } 80 80 81 - static void serial21285_enable_ms(struct uart_port *port) 82 - { 83 - } 84 - 85 81 static irqreturn_t serial21285_rx_chars(int irq, void *dev_id) 86 82 { 87 83 struct uart_port *port = dev_id; ··· 341 345 .stop_tx = serial21285_stop_tx, 342 346 .start_tx = serial21285_start_tx, 343 347 .stop_rx = serial21285_stop_rx, 344 - .enable_ms = serial21285_enable_ms, 345 348 .break_ctl = serial21285_break_ctl, 346 349 .startup = serial21285_startup, 347 350 .shutdown = serial21285_shutdown,
-5
drivers/tty/serial/altera_jtaguart.c
··· 109 109 { 110 110 } 111 111 112 - static void altera_jtaguart_enable_ms(struct uart_port *port) 113 - { 114 - } 115 - 116 112 static void altera_jtaguart_set_termios(struct uart_port *port, 117 113 struct ktermios *termios, 118 114 struct ktermios *old) ··· 287 291 .start_tx = altera_jtaguart_start_tx, 288 292 .stop_tx = altera_jtaguart_stop_tx, 289 293 .stop_rx = altera_jtaguart_stop_rx, 290 - .enable_ms = altera_jtaguart_enable_ms, 291 294 .break_ctl = altera_jtaguart_break_ctl, 292 295 .startup = altera_jtaguart_startup, 293 296 .shutdown = altera_jtaguart_shutdown,
-5
drivers/tty/serial/altera_uart.c
··· 163 163 spin_unlock_irqrestore(&port->lock, flags); 164 164 } 165 165 166 - static void altera_uart_enable_ms(struct uart_port *port) 167 - { 168 - } 169 - 170 166 static void altera_uart_set_termios(struct uart_port *port, 171 167 struct ktermios *termios, 172 168 struct ktermios *old) ··· 411 415 .start_tx = altera_uart_start_tx, 412 416 .stop_tx = altera_uart_stop_tx, 413 417 .stop_rx = altera_uart_stop_rx, 414 - .enable_ms = altera_uart_enable_ms, 415 418 .break_ctl = altera_uart_break_ctl, 416 419 .startup = altera_uart_startup, 417 420 .shutdown = altera_uart_shutdown,
-6
drivers/tty/serial/apbuart.c
··· 71 71 UART_PUT_CTRL(port, cr); 72 72 } 73 73 74 - static void apbuart_enable_ms(struct uart_port *port) 75 - { 76 - /* No modem status change interrupts for APBUART */ 77 - } 78 - 79 74 static void apbuart_rx_chars(struct uart_port *port) 80 75 { 81 76 unsigned int status, ch, rsr, flag; ··· 332 337 .stop_tx = apbuart_stop_tx, 333 338 .start_tx = apbuart_start_tx, 334 339 .stop_rx = apbuart_stop_rx, 335 - .enable_ms = apbuart_enable_ms, 336 340 .break_ctl = apbuart_break_ctl, 337 341 .startup = apbuart_startup, 338 342 .shutdown = apbuart_shutdown,
-5
drivers/tty/serial/ar933x_uart.c
··· 176 176 spin_unlock_irqrestore(&up->port.lock, flags); 177 177 } 178 178 179 - static void ar933x_uart_enable_ms(struct uart_port *port) 180 - { 181 - } 182 - 183 179 /* 184 180 * baudrate = (clk / (scale + 1)) * (step * (1 / 2^17)) 185 181 */ ··· 491 495 .stop_tx = ar933x_uart_stop_tx, 492 496 .start_tx = ar933x_uart_start_tx, 493 497 .stop_rx = ar933x_uart_stop_rx, 494 - .enable_ms = ar933x_uart_enable_ms, 495 498 .break_ctl = ar933x_uart_break_ctl, 496 499 .startup = ar933x_uart_startup, 497 500 .shutdown = ar933x_uart_shutdown,
-8
drivers/tty/serial/arc_uart.c
··· 340 340 /* MCR not present */ 341 341 } 342 342 343 - /* Enable Modem Status Interrupts */ 344 - 345 - static void arc_serial_enable_ms(struct uart_port *port) 346 - { 347 - /* MSR not present */ 348 - } 349 - 350 343 static void arc_serial_break_ctl(struct uart_port *port, int break_state) 351 344 { 352 345 /* ARC UART doesn't support sending Break signal */ ··· 503 510 .stop_tx = arc_serial_stop_tx, 504 511 .start_tx = arc_serial_start_tx, 505 512 .stop_rx = arc_serial_stop_rx, 506 - .enable_ms = arc_serial_enable_ms, 507 513 .break_ctl = arc_serial_break_ctl, 508 514 .startup = arc_serial_startup, 509 515 .shutdown = arc_serial_shutdown,
-6
drivers/tty/serial/bfin_sport_uart.c
··· 426 426 SSYNC(); 427 427 } 428 428 429 - static void sport_enable_ms(struct uart_port *port) 430 - { 431 - pr_debug("%s enter\n", __func__); 432 - } 433 - 434 429 static void sport_break_ctl(struct uart_port *port, int break_state) 435 430 { 436 431 pr_debug("%s enter\n", __func__); ··· 582 587 .stop_tx = sport_stop_tx, 583 588 .start_tx = sport_start_tx, 584 589 .stop_rx = sport_stop_rx, 585 - .enable_ms = sport_enable_ms, 586 590 .break_ctl = sport_break_ctl, 587 591 .startup = sport_startup, 588 592 .shutdown = sport_shutdown,
-9
drivers/tty/serial/bfin_uart.c
··· 200 200 UART_CLEAR_IER(uart, ERBFI); 201 201 } 202 202 203 - /* 204 - * Set the modem control timer to fire immediately. 205 - */ 206 - static void bfin_serial_enable_ms(struct uart_port *port) 207 - { 208 - } 209 - 210 - 211 203 #if ANOMALY_05000363 && defined(CONFIG_SERIAL_BFIN_PIO) 212 204 # define UART_GET_ANOMALY_THRESHOLD(uart) ((uart)->anomaly_threshold) 213 205 # define UART_SET_ANOMALY_THRESHOLD(uart, v) ((uart)->anomaly_threshold = (v)) ··· 1006 1014 .stop_tx = bfin_serial_stop_tx, 1007 1015 .start_tx = bfin_serial_start_tx, 1008 1016 .stop_rx = bfin_serial_stop_rx, 1009 - .enable_ms = bfin_serial_enable_ms, 1010 1017 .break_ctl = bfin_serial_break_ctl, 1011 1018 .startup = bfin_serial_startup, 1012 1019 .shutdown = bfin_serial_shutdown,
-1
drivers/tty/serial/clps711x.c
··· 352 352 .stop_tx = uart_clps711x_stop_tx, 353 353 .start_tx = uart_clps711x_start_tx, 354 354 .stop_rx = uart_clps711x_nop_void, 355 - .enable_ms = uart_clps711x_nop_void, 356 355 .break_ctl = uart_clps711x_break_ctl, 357 356 .set_ldisc = uart_clps711x_set_ldisc, 358 357 .startup = uart_clps711x_startup,
-9
drivers/tty/serial/cpm_uart/cpm_uart_core.c
··· 202 202 } 203 203 204 204 /* 205 - * Enable Modem status interrupts 206 - */ 207 - static void cpm_uart_enable_ms(struct uart_port *port) 208 - { 209 - pr_debug("CPM uart[%d]:enable ms\n", port->line); 210 - } 211 - 212 - /* 213 205 * Generate a break. 214 206 */ 215 207 static void cpm_uart_break_ctl(struct uart_port *port, int break_state) ··· 1114 1122 .stop_tx = cpm_uart_stop_tx, 1115 1123 .start_tx = cpm_uart_start_tx, 1116 1124 .stop_rx = cpm_uart_stop_rx, 1117 - .enable_ms = cpm_uart_enable_ms, 1118 1125 .break_ctl = cpm_uart_break_ctl, 1119 1126 .startup = cpm_uart_startup, 1120 1127 .shutdown = cpm_uart_shutdown,
-6
drivers/tty/serial/dz.c
··· 151 151 dz_out(dport, DZ_LPR, dport->cflag); 152 152 } 153 153 154 - static void dz_enable_ms(struct uart_port *uport) 155 - { 156 - /* nothing to do */ 157 - } 158 - 159 154 /* 160 155 * ------------------------------------------------------------ 161 156 * ··· 746 751 .stop_tx = dz_stop_tx, 747 752 .start_tx = dz_start_tx, 748 753 .stop_rx = dz_stop_rx, 749 - .enable_ms = dz_enable_ms, 750 754 .break_ctl = dz_break_ctl, 751 755 .startup = dz_startup, 752 756 .shutdown = dz_shutdown,
-6
drivers/tty/serial/efm32-uart.c
··· 185 185 efm32_uart_write32(efm_port, UARTn_CMD_RXDIS, UARTn_CMD); 186 186 } 187 187 188 - static void efm32_uart_enable_ms(struct uart_port *port) 189 - { 190 - /* no handshake lines, no modem status interrupts */ 191 - } 192 - 193 188 static void efm32_uart_break_ctl(struct uart_port *port, int ctl) 194 189 { 195 190 /* not possible without fiddling with gpios */ ··· 494 499 .stop_tx = efm32_uart_stop_tx, 495 500 .start_tx = efm32_uart_start_tx, 496 501 .stop_rx = efm32_uart_stop_rx, 497 - .enable_ms = efm32_uart_enable_ms, 498 502 .break_ctl = efm32_uart_break_ctl, 499 503 .startup = efm32_uart_startup, 500 504 .shutdown = efm32_uart_shutdown,
-5
drivers/tty/serial/fsl_lpuart.c
··· 179 179 writeb(temp & ~UARTCR2_RE, port->membase + UARTCR2); 180 180 } 181 181 182 - static void lpuart_enable_ms(struct uart_port *port) 183 - { 184 - } 185 - 186 182 static void lpuart_copy_rx_to_tty(struct lpuart_port *sport, 187 183 struct tty_port *tty, int count) 188 184 { ··· 992 996 .stop_tx = lpuart_stop_tx, 993 997 .start_tx = lpuart_start_tx, 994 998 .stop_rx = lpuart_stop_rx, 995 - .enable_ms = lpuart_enable_ms, 996 999 .break_ctl = lpuart_break_ctl, 997 1000 .startup = lpuart_startup, 998 1001 .shutdown = lpuart_shutdown,
-6
drivers/tty/serial/icom.c
··· 1052 1052 writeb(cmdReg & ~CMD_RCV_ENABLE, &ICOM_PORT->dram->CmdReg); 1053 1053 } 1054 1054 1055 - static void icom_enable_ms(struct uart_port *port) 1056 - { 1057 - /* no-op */ 1058 - } 1059 - 1060 1055 static void icom_break(struct uart_port *port, int break_state) 1061 1056 { 1062 1057 unsigned char cmdReg; ··· 1295 1300 .start_tx = icom_start_tx, 1296 1301 .send_xchar = icom_send_xchar, 1297 1302 .stop_rx = icom_stop_rx, 1298 - .enable_ms = icom_enable_ms, 1299 1303 .break_ctl = icom_break, 1300 1304 .startup = icom_open, 1301 1305 .shutdown = icom_close,
-1
drivers/tty/serial/ioc3_serial.c
··· 1880 1880 .stop_tx = ic3_stop_tx, 1881 1881 .start_tx = ic3_start_tx, 1882 1882 .stop_rx = ic3_stop_rx, 1883 - .enable_ms = null_void_function, 1884 1883 .break_ctl = ic3_break_ctl, 1885 1884 .startup = ic3_startup, 1886 1885 .shutdown = ic3_shutdown,
-1
drivers/tty/serial/ioc4_serial.c
··· 2597 2597 .stop_tx = ic4_stop_tx, 2598 2598 .start_tx = ic4_start_tx, 2599 2599 .stop_rx = null_void_function, 2600 - .enable_ms = null_void_function, 2601 2600 .break_ctl = ic4_break_ctl, 2602 2601 .startup = ic4_startup, 2603 2602 .shutdown = ic4_shutdown,
-6
drivers/tty/serial/jsm/jsm_tty.c
··· 177 177 channel->ch_bd->bd_ops->disable_receiver(channel); 178 178 } 179 179 180 - static void jsm_tty_enable_ms(struct uart_port *port) 181 - { 182 - /* Nothing needed */ 183 - } 184 - 185 180 static void jsm_tty_break(struct uart_port *port, int break_state) 186 181 { 187 182 unsigned long lock_flags; ··· 349 354 .start_tx = jsm_tty_start_tx, 350 355 .send_xchar = jsm_tty_send_xchar, 351 356 .stop_rx = jsm_tty_stop_rx, 352 - .enable_ms = jsm_tty_enable_ms, 353 357 .break_ctl = jsm_tty_break, 354 358 .startup = jsm_tty_open, 355 359 .shutdown = jsm_tty_close,
-6
drivers/tty/serial/lantiq.c
··· 154 154 ltq_w32(ASCWHBSTATE_CLRREN, port->membase + LTQ_ASC_WHBSTATE); 155 155 } 156 156 157 - static void 158 - lqasc_enable_ms(struct uart_port *port) 159 - { 160 - } 161 - 162 157 static int 163 158 lqasc_rx_chars(struct uart_port *port) 164 159 { ··· 563 568 .stop_tx = lqasc_stop_tx, 564 569 .start_tx = lqasc_start_tx, 565 570 .stop_rx = lqasc_stop_rx, 566 - .enable_ms = lqasc_enable_ms, 567 571 .break_ctl = lqasc_break_ctl, 568 572 .startup = lqasc_startup, 569 573 .shutdown = lqasc_shutdown,
-7
drivers/tty/serial/lpc32xx_hs.c
··· 427 427 LPC32XX_HSU_FE_INT), LPC32XX_HSUART_IIR(port->membase)); 428 428 } 429 429 430 - /* port->lock held by caller. */ 431 - static void serial_lpc32xx_enable_ms(struct uart_port *port) 432 - { 433 - /* Modem status is not supported */ 434 - } 435 - 436 430 /* port->lock is not held. */ 437 431 static void serial_lpc32xx_break_ctl(struct uart_port *port, 438 432 int break_state) ··· 652 658 .stop_tx = serial_lpc32xx_stop_tx, 653 659 .start_tx = serial_lpc32xx_start_tx, 654 660 .stop_rx = serial_lpc32xx_stop_rx, 655 - .enable_ms = serial_lpc32xx_enable_ms, 656 661 .break_ctl = serial_lpc32xx_break_ctl, 657 662 .startup = serial_lpc32xx_startup, 658 663 .shutdown = serial_lpc32xx_shutdown,
-1
drivers/tty/serial/max310x.c
··· 1008 1008 .stop_tx = max310x_null_void, 1009 1009 .start_tx = max310x_start_tx, 1010 1010 .stop_rx = max310x_null_void, 1011 - .enable_ms = max310x_null_void, 1012 1011 .break_ctl = max310x_break_ctl, 1013 1012 .startup = max310x_startup, 1014 1013 .shutdown = max310x_shutdown,
-7
drivers/tty/serial/mcf.c
··· 150 150 151 151 /****************************************************************************/ 152 152 153 - static void mcf_enable_ms(struct uart_port *port) 154 - { 155 - } 156 - 157 - /****************************************************************************/ 158 - 159 153 static int mcf_startup(struct uart_port *port) 160 154 { 161 155 struct mcf_uart *pp = container_of(port, struct mcf_uart, port); ··· 501 507 .start_tx = mcf_start_tx, 502 508 .stop_tx = mcf_stop_tx, 503 509 .stop_rx = mcf_stop_rx, 504 - .enable_ms = mcf_enable_ms, 505 510 .break_ctl = mcf_break_ctl, 506 511 .startup = mcf_startup, 507 512 .shutdown = mcf_shutdown,
-5
drivers/tty/serial/mpsc.c
··· 1336 1336 mpsc_sdma_cmd(pi, SDMA_SDCM_AR); 1337 1337 } 1338 1338 1339 - static void mpsc_enable_ms(struct uart_port *port) 1340 - { 1341 - } 1342 - 1343 1339 static void mpsc_break_ctl(struct uart_port *port, int ctl) 1344 1340 { 1345 1341 struct mpsc_port_info *pi = (struct mpsc_port_info *)port; ··· 1670 1674 .stop_tx = mpsc_stop_tx, 1671 1675 .start_tx = mpsc_start_tx, 1672 1676 .stop_rx = mpsc_stop_rx, 1673 - .enable_ms = mpsc_enable_ms, 1674 1677 .break_ctl = mpsc_break_ctl, 1675 1678 .startup = mpsc_startup, 1676 1679 .shutdown = mpsc_shutdown,
-5
drivers/tty/serial/mrst_max3110.c
··· 698 698 { 699 699 } 700 700 701 - static void serial_m3110_enable_ms(struct uart_port *port) 702 - { 703 - } 704 - 705 701 static struct uart_ops serial_m3110_ops = { 706 702 .tx_empty = serial_m3110_tx_empty, 707 703 .set_mctrl = serial_m3110_set_mctrl, ··· 705 709 .stop_tx = serial_m3110_stop_tx, 706 710 .start_tx = serial_m3110_start_tx, 707 711 .stop_rx = serial_m3110_stop_rx, 708 - .enable_ms = serial_m3110_enable_ms, 709 712 .break_ctl = serial_m3110_break_ctl, 710 713 .startup = serial_m3110_startup, 711 714 .shutdown = serial_m3110_shutdown,
-11
drivers/tty/serial/mux.c
··· 169 169 } 170 170 171 171 /** 172 - * mux_enable_ms - Enable modum status interrupts. 173 - * @port: Ptr to the uart_port. 174 - * 175 - * The Serial Mux does not support this function. 176 - */ 177 - static void mux_enable_ms(struct uart_port *port) 178 - { 179 - } 180 - 181 - /** 182 172 * mux_break_ctl - Control the transmitssion of a break signal. 183 173 * @port: Ptr to the uart_port. 184 174 * @break_state: Raise/Lower the break signal. ··· 439 449 .stop_tx = mux_stop_tx, 440 450 .start_tx = mux_start_tx, 441 451 .stop_rx = mux_stop_rx, 442 - .enable_ms = mux_enable_ms, 443 452 .break_ctl = mux_break_ctl, 444 453 .startup = mux_startup, 445 454 .shutdown = mux_shutdown,
-6
drivers/tty/serial/mxs-auart.c
··· 815 815 u->membase + AUART_LINECTRL_CLR); 816 816 } 817 817 818 - static void mxs_auart_enable_ms(struct uart_port *port) 819 - { 820 - /* just empty */ 821 - } 822 - 823 818 static struct uart_ops mxs_auart_ops = { 824 819 .tx_empty = mxs_auart_tx_empty, 825 820 .start_tx = mxs_auart_start_tx, 826 821 .stop_tx = mxs_auart_stop_tx, 827 822 .stop_rx = mxs_auart_stop_rx, 828 - .enable_ms = mxs_auart_enable_ms, 829 823 .break_ctl = mxs_auart_break_ctl, 830 824 .set_mctrl = mxs_auart_set_mctrl, 831 825 .get_mctrl = mxs_auart_get_mctrl,
-6
drivers/tty/serial/nwpserial.c
··· 240 240 /* N/A */ 241 241 } 242 242 243 - static void nwpserial_enable_ms(struct uart_port *port) 244 - { 245 - /* N/A */ 246 - } 247 - 248 243 static void nwpserial_stop_rx(struct uart_port *port) 249 244 { 250 245 struct nwpserial_port *up; ··· 310 315 .stop_tx = nwpserial_stop_tx, 311 316 .start_tx = nwpserial_start_tx, 312 317 .stop_rx = nwpserial_stop_rx, 313 - .enable_ms = nwpserial_enable_ms, 314 318 .break_ctl = nwpserial_break_ctl, 315 319 .startup = nwpserial_startup, 316 320 .shutdown = nwpserial_shutdown,
-5
drivers/tty/serial/samsung.c
··· 203 203 } 204 204 } 205 205 206 - static void s3c24xx_serial_enable_ms(struct uart_port *port) 207 - { 208 - } 209 - 210 206 static inline struct s3c24xx_uart_info *s3c24xx_port_to_info(struct uart_port *port) 211 207 { 212 208 return to_ourport(port)->info; ··· 948 952 .stop_tx = s3c24xx_serial_stop_tx, 949 953 .start_tx = s3c24xx_serial_start_tx, 950 954 .stop_rx = s3c24xx_serial_stop_rx, 951 - .enable_ms = s3c24xx_serial_enable_ms, 952 955 .break_ctl = s3c24xx_serial_break_ctl, 953 956 .startup = s3c24xx_serial_startup, 954 957 .shutdown = s3c24xx_serial_shutdown,
-1
drivers/tty/serial/sc16is7xx.c
··· 991 991 .stop_tx = sc16is7xx_stop_tx, 992 992 .start_tx = sc16is7xx_start_tx, 993 993 .stop_rx = sc16is7xx_stop_rx, 994 - .enable_ms = sc16is7xx_null_void, 995 994 .break_ctl = sc16is7xx_break_ctl, 996 995 .startup = sc16is7xx_startup, 997 996 .shutdown = sc16is7xx_shutdown,
-6
drivers/tty/serial/sccnxp.c
··· 533 533 return (val & SR_TXEMT) ? TIOCSER_TEMT : 0; 534 534 } 535 535 536 - static void sccnxp_enable_ms(struct uart_port *port) 537 - { 538 - /* Do nothing */ 539 - } 540 - 541 536 static void sccnxp_set_mctrl(struct uart_port *port, unsigned int mctrl) 542 537 { 543 538 struct sccnxp_port *s = dev_get_drvdata(port->dev); ··· 785 790 .stop_tx = sccnxp_stop_tx, 786 791 .start_tx = sccnxp_start_tx, 787 792 .stop_rx = sccnxp_stop_rx, 788 - .enable_ms = sccnxp_enable_ms, 789 793 .break_ctl = sccnxp_break_ctl, 790 794 .startup = sccnxp_startup, 791 795 .shutdown = sccnxp_shutdown,
-6
drivers/tty/serial/serial_txx9.c
··· 244 244 up->port.read_status_mask &= ~TXX9_SIDISR_RDIS; 245 245 } 246 246 247 - static void serial_txx9_enable_ms(struct uart_port *port) 248 - { 249 - /* TXX9-SIO can not control DTR... */ 250 - } 251 - 252 247 static void serial_txx9_initialize(struct uart_port *port) 253 248 { 254 249 struct uart_txx9_port *up = to_uart_txx9_port(port); ··· 853 858 .stop_tx = serial_txx9_stop_tx, 854 859 .start_tx = serial_txx9_start_tx, 855 860 .stop_rx = serial_txx9_stop_rx, 856 - .enable_ms = serial_txx9_enable_ms, 857 861 .break_ctl = serial_txx9_break_ctl, 858 862 .startup = serial_txx9_startup, 859 863 .shutdown = serial_txx9_shutdown,
-8
drivers/tty/serial/sh-sci.c
··· 1560 1560 serial_port_out(port, SCSCR, ctrl); 1561 1561 } 1562 1562 1563 - static void sci_enable_ms(struct uart_port *port) 1564 - { 1565 - /* 1566 - * Not supported by hardware, always a nop. 1567 - */ 1568 - } 1569 - 1570 1563 static void sci_break_ctl(struct uart_port *port, int break_state) 1571 1564 { 1572 1565 struct sci_port *s = to_sci_port(port); ··· 2073 2080 .start_tx = sci_start_tx, 2074 2081 .stop_tx = sci_stop_tx, 2075 2082 .stop_rx = sci_stop_rx, 2076 - .enable_ms = sci_enable_ms, 2077 2083 .break_ctl = sci_break_ctl, 2078 2084 .startup = sci_startup, 2079 2085 .shutdown = sci_shutdown,
-10
drivers/tty/serial/sn_console.c
··· 275 275 } 276 276 277 277 /** 278 - * snp_enable_ms - Force modem status interrupts on - no-op for us 279 - * @port: Port to operate on - we ignore - no-op function 280 - * 281 - */ 282 - static void snp_enable_ms(struct uart_port *port) 283 - { 284 - } 285 - 286 - /** 287 278 * snp_shutdown - shut down the port - free irq and disable - no-op for us 288 279 * @port: Port to shut down - we ignore 289 280 * ··· 387 396 .stop_tx = snp_stop_tx, 388 397 .start_tx = snp_start_tx, 389 398 .stop_rx = snp_stop_rx, 390 - .enable_ms = snp_enable_ms, 391 399 .break_ctl = snp_break_ctl, 392 400 .startup = snp_startup, 393 401 .shutdown = snp_shutdown,
-7
drivers/tty/serial/st-asc.c
··· 411 411 asc_disable_rx_interrupts(port); 412 412 } 413 413 414 - /* Force modem status interrupts on */ 415 - static void asc_enable_ms(struct uart_port *port) 416 - { 417 - /* Nothing here yet .. */ 418 - } 419 - 420 414 /* Handle breaks - ignored by us */ 421 415 static void asc_break_ctl(struct uart_port *port, int break_state) 422 416 { ··· 638 644 .start_tx = asc_start_tx, 639 645 .stop_tx = asc_stop_tx, 640 646 .stop_rx = asc_stop_rx, 641 - .enable_ms = asc_enable_ms, 642 647 .break_ctl = asc_break_ctl, 643 648 .startup = asc_startup, 644 649 .shutdown = asc_shutdown,
-6
drivers/tty/serial/sunhv.c
··· 285 285 { 286 286 } 287 287 288 - /* port->lock held by caller. */ 289 - static void sunhv_enable_ms(struct uart_port *port) 290 - { 291 - } 292 - 293 288 /* port->lock is not held. */ 294 289 static void sunhv_break_ctl(struct uart_port *port, int break_state) 295 290 { ··· 374 379 .start_tx = sunhv_start_tx, 375 380 .send_xchar = sunhv_send_xchar, 376 381 .stop_rx = sunhv_stop_rx, 377 - .enable_ms = sunhv_enable_ms, 378 382 .break_ctl = sunhv_break_ctl, 379 383 .startup = sunhv_startup, 380 384 .shutdown = sunhv_shutdown,
-7
drivers/tty/serial/sunsab.c
··· 473 473 writeb(up->interrupt_mask1, &up->regs->w.imr0); 474 474 } 475 475 476 - /* port->lock held by caller. */ 477 - static void sunsab_enable_ms(struct uart_port *port) 478 - { 479 - /* For now we always receive these interrupts. */ 480 - } 481 - 482 476 /* port->lock is not held. */ 483 477 static void sunsab_break_ctl(struct uart_port *port, int break_state) 484 478 { ··· 801 807 .start_tx = sunsab_start_tx, 802 808 .send_xchar = sunsab_send_xchar, 803 809 .stop_rx = sunsab_stop_rx, 804 - .enable_ms = sunsab_enable_ms, 805 810 .break_ctl = sunsab_break_ctl, 806 811 .startup = sunsab_startup, 807 812 .shutdown = sunsab_shutdown,
-10
drivers/tty/serial/tilegx.c
··· 314 314 mutex_unlock(&tile_uart->mutex); 315 315 } 316 316 317 - 318 - /* 319 - * Enable modem status interrupts. 320 - */ 321 - static void tilegx_enable_ms(struct uart_port *port) 322 - { 323 - /* N/A */ 324 - } 325 - 326 317 /* 327 318 * Control the transmission of a break signal. 328 319 */ ··· 605 614 .stop_tx = tilegx_stop_tx, 606 615 .start_tx = tilegx_start_tx, 607 616 .stop_rx = tilegx_stop_rx, 608 - .enable_ms = tilegx_enable_ms, 609 617 .break_ctl = tilegx_break_ctl, 610 618 .startup = tilegx_startup, 611 619 .shutdown = tilegx_shutdown,
-6
drivers/tty/serial/timbuart.c
··· 244 244 *ier |= CTS_DELTA; 245 245 } 246 246 247 - static void timbuart_enable_ms(struct uart_port *port) 248 - { 249 - /* N/A */ 250 - } 251 - 252 247 static void timbuart_break_ctl(struct uart_port *port, int ctl) 253 248 { 254 249 /* N/A */ ··· 400 405 .start_tx = timbuart_start_tx, 401 406 .flush_buffer = timbuart_flush_buffer, 402 407 .stop_rx = timbuart_stop_rx, 403 - .enable_ms = timbuart_enable_ms, 404 408 .break_ctl = timbuart_break_ctl, 405 409 .startup = timbuart_startup, 406 410 .shutdown = timbuart_shutdown,
-6
drivers/tty/serial/uartlite.c
··· 250 250 | ULITE_STATUS_FRAME | ULITE_STATUS_OVERRUN; 251 251 } 252 252 253 - static void ulite_enable_ms(struct uart_port *port) 254 - { 255 - /* N/A */ 256 - } 257 - 258 253 static void ulite_break_ctl(struct uart_port *port, int ctl) 259 254 { 260 255 /* N/A */ ··· 390 395 .stop_tx = ulite_stop_tx, 391 396 .start_tx = ulite_start_tx, 392 397 .stop_rx = ulite_stop_rx, 393 - .enable_ms = ulite_enable_ms, 394 398 .break_ctl = ulite_break_ctl, 395 399 .startup = ulite_startup, 396 400 .shutdown = ulite_shutdown,
-11
drivers/tty/serial/ucc_uart.c
··· 435 435 clrbits16(&qe_port->uccp->uccm, UCC_UART_UCCE_RX); 436 436 } 437 437 438 - /* 439 - * Enable status change interrupts 440 - * 441 - * We don't support status change interrupts, but we need to define this 442 - * function otherwise the kernel will panic. 443 - */ 444 - static void qe_uart_enable_ms(struct uart_port *port) 445 - { 446 - } 447 - 448 438 /* Start or stop sending break signal 449 439 * 450 440 * This function controls the sending of a break signal. If break_state=1, ··· 1092 1102 .stop_tx = qe_uart_stop_tx, 1093 1103 .start_tx = qe_uart_start_tx, 1094 1104 .stop_rx = qe_uart_stop_rx, 1095 - .enable_ms = qe_uart_enable_ms, 1096 1105 .break_ctl = qe_uart_break_ctl, 1097 1106 .startup = qe_uart_startup, 1098 1107 .shutdown = qe_uart_shutdown,
-6
drivers/tty/serial/xilinx_uartps.c
··· 918 918 /* N/A */ 919 919 } 920 920 921 - static void cdns_uart_enable_ms(struct uart_port *port) 922 - { 923 - /* N/A */ 924 - } 925 - 926 921 #ifdef CONFIG_CONSOLE_POLL 927 922 static int cdns_uart_poll_get_char(struct uart_port *port) 928 923 { ··· 969 974 static struct uart_ops cdns_uart_ops = { 970 975 .set_mctrl = cdns_uart_set_mctrl, 971 976 .get_mctrl = cdns_uart_get_mctrl, 972 - .enable_ms = cdns_uart_enable_ms, 973 977 .start_tx = cdns_uart_start_tx, 974 978 .stop_tx = cdns_uart_stop_tx, 975 979 .stop_rx = cdns_uart_stop_rx,