From f9f613324551b001564aa226b9ede221b7e0b3ce Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 10 Apr 2023 23:18:08 +0000 Subject: [PATCH] add missing write of SAB_DAFO ok miod@ who tested on Ultra 5 --- sys/arch/sparc64/dev/sab.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc64/dev/sab.c b/sys/arch/sparc64/dev/sab.c index 73ef07db8b4..57a97f088eb 100644 --- a/sys/arch/sparc64/dev/sab.c +++ b/sys/arch/sparc64/dev/sab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sab.c,v 1.40 2022/10/16 01:22:39 jsg Exp $ */ +/* $OpenBSD: sab.c,v 1.41 2023/04/10 23:18:08 jsg Exp $ */ /* * Copyright (c) 2001 Jason L. Wright (jason@thought.net) @@ -1020,6 +1020,8 @@ sabttyparam(struct sabtty_softc *sc, struct tty *tp, struct termios *t) } else dafo |= SAB_DAFO_PAR_NONE; + SAB_WRITE(sc, SAB_DAFO, dafo); + if (ospeed != 0) { SAB_WRITE(sc, SAB_BGR, ospeed & 0xff); r = SAB_READ(sc, SAB_CCR2); -- 2.20.1