ip22zilog.c (8bb5e7f4dcd9b9ef22a3ea25c9066a8a968f12dd) ip22zilog.c (bec5b814d46c2a704c3c8148752e62a33e9fa6dc)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Driver for Zilog serial chips found on SGI workstations and
4 * servers. This driver could actually be made more generic.
5 *
6 * This is based on the drivers/serial/sunzilog.c code as of 2.6.0-test7 and the
7 * old drivers/sgi/char/sgiserial.c code which itself is based of the original
8 * drivers/sbus/char/zs.c code. A lot of code has been simply moved over

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

868
869 if ((cflag & CREAD) == 0)
870 up->port.ignore_status_mask = 0xff;
871}
872
873/* The port lock is not held. */
874static void
875ip22zilog_set_termios(struct uart_port *port, struct ktermios *termios,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Driver for Zilog serial chips found on SGI workstations and
4 * servers. This driver could actually be made more generic.
5 *
6 * This is based on the drivers/serial/sunzilog.c code as of 2.6.0-test7 and the
7 * old drivers/sgi/char/sgiserial.c code which itself is based of the original
8 * drivers/sbus/char/zs.c code. A lot of code has been simply moved over

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

868
869 if ((cflag & CREAD) == 0)
870 up->port.ignore_status_mask = 0xff;
871}
872
873/* The port lock is not held. */
874static void
875ip22zilog_set_termios(struct uart_port *port, struct ktermios *termios,
876 struct ktermios *old)
876 const struct ktermios *old)
877{
878 struct uart_ip22zilog_port *up =
879 container_of(port, struct uart_ip22zilog_port, port);
880 unsigned long flags;
881 int baud, brg;
882
883 baud = uart_get_baud_rate(port, termios, old, 1200, 76800);
884

--- 339 unchanged lines hidden ---
877{
878 struct uart_ip22zilog_port *up =
879 container_of(port, struct uart_ip22zilog_port, port);
880 unsigned long flags;
881 int baud, brg;
882
883 baud = uart_get_baud_rate(port, termios, old, 1200, 76800);
884

--- 339 unchanged lines hidden ---