linux/drivers/accessibility/speakup/serialio.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _SPEAKUP_SERIAL_H
#define _SPEAKUP_SERIAL_H

#include <linux/serial.h>	/* for rs_table, serial constants */
#include <linux/serial_reg.h>	/* for more serial constants */
#include <linux/serial_core.h>

#include "spk_priv.h"

/*
 * this is cut&paste from 8250.h. Get rid of the structure, the definitions
 * and this whole broken driver.
 */
struct old_serial_port {};

/* countdown values for serial timeouts in us */
#define SPK_SERIAL_TIMEOUT
/* countdown values transmitter/dsr timeouts in us */
#define SPK_XMITR_TIMEOUT
/* countdown values cts timeouts in us */
#define SPK_CTS_TIMEOUT
/* check ttyS0 ... ttyS3 */
#define SPK_LO_TTY
#define SPK_HI_TTY
/* # of timeouts permitted before disable */
#define NUM_DISABLE_TIMEOUTS
/* buffer timeout in ms */
#define SPK_TIMEOUT

#define spk_serial_tx_busy()

#endif