zs.c (446279168e030fd0ed68e2bba336bef8bb3da352) zs.c (bec5b814d46c2a704c3c8148752e62a33e9fa6dc)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * zs.c: Serial port driver for IOASIC DECstations.
4 *
5 * Derived from drivers/sbus/char/sunserial.c by Paul Mackerras.
6 * Derived from drivers/macintosh/macserial.c by Harald Koerfgen.
7 *
8 * DECstation changes

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

841 write_zsreg(zport, R9, 0);
842 scc->initialised = 1;
843 }
844 load_zsregs(zport, zport->regs, irq);
845 spin_unlock_irqrestore(&scc->zlock, flags);
846}
847
848static void zs_set_termios(struct uart_port *uport, struct ktermios *termios,
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * zs.c: Serial port driver for IOASIC DECstations.
4 *
5 * Derived from drivers/sbus/char/sunserial.c by Paul Mackerras.
6 * Derived from drivers/macintosh/macserial.c by Harald Koerfgen.
7 *
8 * DECstation changes

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

841 write_zsreg(zport, R9, 0);
842 scc->initialised = 1;
843 }
844 load_zsregs(zport, zport->regs, irq);
845 spin_unlock_irqrestore(&scc->zlock, flags);
846}
847
848static void zs_set_termios(struct uart_port *uport, struct ktermios *termios,
849 struct ktermios *old_termios)
849 const struct ktermios *old_termios)
850{
851 struct zs_port *zport = to_zport(uport);
852 struct zs_scc *scc = zport->scc;
853 struct zs_port *zport_a = &scc->zport[ZS_CHAN_A];
854 int irq;
855 unsigned int baud, brg;
856 unsigned long flags;
857

--- 450 unchanged lines hidden ---
850{
851 struct zs_port *zport = to_zport(uport);
852 struct zs_scc *scc = zport->scc;
853 struct zs_port *zport_a = &scc->zport[ZS_CHAN_A];
854 int irq;
855 unsigned int baud, brg;
856 unsigned long flags;
857

--- 450 unchanged lines hidden ---