1// SPDX-License-Identifier: GPL-2.0+
2
3#include <asm/machvec.h>
4#include "8250.h"
5
6bool alpha_jensen(void)
7{
8 return !strcmp(alpha_mv.vector_name, "Jensen");
9}
10
11void alpha_jensen_set_mctrl(struct uart_port *port, unsigned int mctrl)
12{
13 /*
14 * Digital did something really horribly wrong with the OUT1 and OUT2
15 * lines on Alpha Jensen. The failure mode is that if either is
16 * cleared, the machine locks up with endless interrupts.
17 */
18 mctrl |= TIOCM_OUT1 | TIOCM_OUT2;
19
20 serial8250_do_set_mctrl(port, mctrl);
21}
22

source code of linux/drivers/tty/serial/8250/8250_alpha.c