1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | |
3 | #include <asm/machvec.h> |
4 | #include "8250.h" |
5 | |
6 | bool alpha_jensen(void) |
7 | { |
8 | return !strcmp(alpha_mv.vector_name, "Jensen" ); |
9 | } |
10 | |
11 | void 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 | |