serial_txx9.c (d185a852e17c2ca6a3c796dbde4ee98d0ecbded1) serial_txx9.c (3f8bab174cb26aa5a8053c4457cc733881e3ad88)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Derived from many drivers using generic_serial interface,
4 * especially serial_tx3912.c by Steven J. Hill and r39xx_serial.c
5 * (was in Linux/VR tree) by Jim Pick.
6 *
7 * Copyright (C) 1999 Harald Koerfgen
8 * Copyright (C) 2000 Jim Pick <jim@jimpick.com>

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

871 up->port.dev = dev;
872 if (up->port.iobase || up->port.mapbase)
873 uart_add_one_port(drv, &up->port);
874 }
875}
876
877#ifdef CONFIG_SERIAL_TXX9_CONSOLE
878
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Derived from many drivers using generic_serial interface,
4 * especially serial_tx3912.c by Steven J. Hill and r39xx_serial.c
5 * (was in Linux/VR tree) by Jim Pick.
6 *
7 * Copyright (C) 1999 Harald Koerfgen
8 * Copyright (C) 2000 Jim Pick <jim@jimpick.com>

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

871 up->port.dev = dev;
872 if (up->port.iobase || up->port.mapbase)
873 uart_add_one_port(drv, &up->port);
874 }
875}
876
877#ifdef CONFIG_SERIAL_TXX9_CONSOLE
878
879static void serial_txx9_console_putchar(struct uart_port *port, int ch)
879static void serial_txx9_console_putchar(struct uart_port *port, unsigned char ch)
880{
881 struct uart_txx9_port *up = to_uart_txx9_port(port);
882
883 wait_for_xmitr(up);
884 sio_out(up, TXX9_SITFIFO, ch);
885}
886
887/*

--- 432 unchanged lines hidden ---
880{
881 struct uart_txx9_port *up = to_uart_txx9_port(port);
882
883 wait_for_xmitr(up);
884 sio_out(up, TXX9_SITFIFO, ch);
885}
886
887/*

--- 432 unchanged lines hidden ---