Module Name: src Committed By: nat Date: Tue Sep 6 02:28:35 UTC 2022
Modified Files: src/sys/dev/usb: udl.c Log Message: Do a full screen update upon vt switch. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/dev/usb/udl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/udl.c diff -u src/sys/dev/usb/udl.c:1.31 src/sys/dev/usb/udl.c:1.32 --- src/sys/dev/usb/udl.c:1.31 Tue Sep 6 02:26:11 2022 +++ src/sys/dev/usb/udl.c Tue Sep 6 02:28:35 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: udl.c,v 1.31 2022/09/06 02:26:11 nat Exp $ */ +/* $NetBSD: udl.c,v 1.32 2022/09/06 02:28:35 nat Exp $ */ /*- * Copyright (c) 2009 FUKAUMI Naoki. @@ -53,7 +53,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.31 2022/09/06 02:26:11 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udl.c,v 1.32 2022/09/06 02:28:35 nat Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -1869,7 +1869,9 @@ udl_startstop(struct udl_softc *sc, bool { mutex_enter(&sc->sc_thread_mtx); sc->sc_thread_stop = stop; - if (!stop) + if (!stop) { + sc->sc_clear = true; cv_broadcast(&sc->sc_thread_cv); + } mutex_exit(&sc->sc_thread_mtx); }