Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Do a full screen update upon vt switch.
details: https://anonhg.NetBSD.org/src/rev/a13ef23cd758
branches: trunk
changeset: 369884:a13ef23cd758
user: nat <nat%NetBSD.org@localhost>
date: Tue Sep 06 02:28:35 2022 +0000
description:
Do a full screen update upon vt switch.
diffstat:
sys/dev/usb/udl.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 542b37a0a3fe -r a13ef23cd758 sys/dev/usb/udl.c
--- a/sys/dev/usb/udl.c Tue Sep 06 02:26:11 2022 +0000
+++ b/sys/dev/usb/udl.c Tue Sep 06 02:28:35 2022 +0000
@@ -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 @@
{
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);
}
Home |
Main Index |
Thread Index |
Old Index