summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2007-06-08 08:23:14 +0000
committersimokawa <simokawa@FreeBSD.org>2007-06-08 08:23:14 +0000
commit5402acc145973747c3f507058d61d37171f567bc (patch)
treed71349a4595ff4bc5ea26a582b0bf80c2818a9e0 /sys/dev/dcons
parent11dae061940dc54a64caf14251b076095a5e3133 (diff)
downloadFreeBSD-src-5402acc145973747c3f507058d61d37171f567bc.zip
FreeBSD-src-5402acc145973747c3f507058d61d37171f567bc.tar.gz
Don't invalidate dcons buffer on shutdown.
We would like to keep connection after halt.
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r--sys/dev/dcons/dcons_os.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c
index fb626b4..fa6bcd0 100644
--- a/sys/dev/dcons/dcons_os.c
+++ b/sys/dev/dcons/dcons_os.c
@@ -704,7 +704,9 @@ dcons_modevent(module_t mode, int type, void *data)
break;
case MOD_SHUTDOWN:
+#if 0 /* Keep connection after halt */
dg.buf->magic = 0;
+#endif
break;
default:
err = EOPNOTSUPP;
OpenPOWER on IntegriCloud