From owner-svn-src-all@FreeBSD.ORG Fri Mar 13 02:15:50 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02ED6106566B; Fri, 13 Mar 2009 02:15:50 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E689B8FC1A; Fri, 13 Mar 2009 02:15:49 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2D2Fnwd047129; Fri, 13 Mar 2009 02:15:49 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2D2FnSB047128; Fri, 13 Mar 2009 02:15:49 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200903130215.n2D2FnSB047128@svn.freebsd.org> From: Warner Losh Date: Fri, 13 Mar 2009 02:15:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r189752 - head/sys/dev/dcons X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 02:15:50 -0000 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); }