diff options
| author | joerg <joerg@NetBSD.org> | 2007-12-13 15:14:48 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2007-12-13 15:14:48 +0000 |
| commit | 1c47f4bb86910dfefc68371a4dae2eda9482bf64 (patch) | |
| tree | c55106eaeb19a282b6a2798fdb96b262a7a9b9c1 /sys/dev/wscons/wsdisplayvar.h | |
| parent | 2399e8e84e2f51e5f73bc6e8f1678860934e9a92 (diff) | |
Switch to console on suspend and shutdown, switch back to where the
system was before on resume. This is the second attempt and got more
complicated due to the async nature of VT_ACTIVE. After the initial
switch, check that we ended up on the first screen and if not, wait for
the switch to happen.
Diffstat (limited to 'sys/dev/wscons/wsdisplayvar.h')
| -rw-r--r-- | sys/dev/wscons/wsdisplayvar.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsdisplayvar.h b/sys/dev/wscons/wsdisplayvar.h index 3cc957686f3..1a49e920dfb 100644 --- a/sys/dev/wscons/wsdisplayvar.h +++ b/sys/dev/wscons/wsdisplayvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: wsdisplayvar.h,v 1.44 2007/10/19 08:57:50 dogcow Exp $ */ +/* $NetBSD: wsdisplayvar.h,v 1.45 2007/12/13 15:14:48 joerg Exp $ */ /* * Copyright (c) 1996, 1997 Christopher G. Demetriou. All rights reserved. @@ -224,7 +224,6 @@ int wsdisplay_stat_inject(struct device *, u_int, int); * for general use */ #define WSDISPLAY_NULLSCREEN -1 -void wsdisplay_switchtoconsole(void); const struct wsscreen_descr *wsdisplay_screentype_pick( const struct wsscreen_list *, const char *); |
