From: jsg Date: Mon, 10 Apr 2023 23:18:08 +0000 (+0000) Subject: add missing write of SAB_DAFO X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f9f613324551b001564aa226b9ede221b7e0b3ce;p=openbsd add missing write of SAB_DAFO ok miod@ who tested on Ultra 5 --- 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);