linux/arch/x86/include/asm/serial.h

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

/*
 * This assumes you have a 1.8432 MHz clock for your UART.
 *
 * It'd be nice if someone built a serial card with a 24.576 MHz
 * clock, since the 16550A is capable of handling a top speed of 1.5
 * megabits/second; but this requires a faster clock.
 */
#define BASE_BAUD

/* Standard COM flags (except for COM4, because of the 8514 problem) */
#ifdef CONFIG_SERIAL_8250_DETECT_IRQ
#define STD_COMX_FLAGS
#define STD_COM4_FLAGS
#else
#define STD_COMX_FLAGS
#define STD_COM4_FLAGS
#endif

#define SERIAL_PORT_DFNS

#endif /* _ASM_X86_SERIAL_H */