21285.c (8bb5e7f4dcd9b9ef22a3ea25c9066a8a968f12dd) 21285.c (bec5b814d46c2a704c3c8148752e62a33e9fa6dc)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Driver for the serial port on the 21285 StrongArm-110 core logic chip.
4 *
5 * Based on drivers/char/serial.c
6 */
7#include <linux/module.h>
8#include <linux/tty.h>

--- 229 unchanged lines hidden (view full) ---

238static void serial21285_shutdown(struct uart_port *port)
239{
240 free_irq(IRQ_CONTX, port);
241 free_irq(IRQ_CONRX, port);
242}
243
244static void
245serial21285_set_termios(struct uart_port *port, struct ktermios *termios,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Driver for the serial port on the 21285 StrongArm-110 core logic chip.
4 *
5 * Based on drivers/char/serial.c
6 */
7#include <linux/module.h>
8#include <linux/tty.h>

--- 229 unchanged lines hidden (view full) ---

238static void serial21285_shutdown(struct uart_port *port)
239{
240 free_irq(IRQ_CONTX, port);
241 free_irq(IRQ_CONRX, port);
242}
243
244static void
245serial21285_set_termios(struct uart_port *port, struct ktermios *termios,
246 struct ktermios *old)
246 const struct ktermios *old)
247{
248 unsigned long flags;
249 unsigned int baud, quot, h_lcr, b;
250
251 /*
252 * We don't support modem control lines.
253 */
254 termios->c_cflag &= ~(HUPCL | CRTSCTS | CMSPAR);

--- 288 unchanged lines hidden ---
247{
248 unsigned long flags;
249 unsigned int baud, quot, h_lcr, b;
250
251 /*
252 * We don't support modem control lines.
253 */
254 termios->c_cflag &= ~(HUPCL | CRTSCTS | CMSPAR);

--- 288 unchanged lines hidden ---