summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/dev/sab.c4
1 files changed, 3 insertions, 1 deletions
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);