Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 02:15:49 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189752 - head/sys/dev/dcons
Message-ID:  <200903130215.n2D2FnSB047128@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Mar 13 02:15:49 2009
New Revision: 189752
URL: http://svn.freebsd.org/changeset/base/189752

Log:
  We need to initialize the console for dcons to work.
  
  Submitted by:	nork@

Modified:
  head/sys/dev/dcons/dcons_os.c

Modified: head/sys/dev/dcons/dcons_os.c
==============================================================================
--- head/sys/dev/dcons/dcons_os.c	Fri Mar 13 01:28:10 2009	(r189751)
+++ head/sys/dev/dcons/dcons_os.c	Fri Mar 13 02:15:49 2009	(r189752)
@@ -360,6 +360,7 @@ dcons_attach_port(int port, char *name, 
 	tp = tty_alloc(&dcons_ttydevsw, dc, NULL);
 	dc->flags = flags;
 	dc->tty   = tp;
+	tty_init_console(tp, 0);
 	tty_makedev(tp, NULL, "%s", name);
 	return(0);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903130215.n2D2FnSB047128>