svn commit: r189752 - head/sys/dev/dcons

Warner Losh imp at FreeBSD.org
Thu Mar 12 19:15:50 PDT 2009


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);
 }


More information about the svn-src-all mailing list