Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Aug 2012 07:47:13 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239667 - head/sys/dev/gxemul/cons
Message-ID:  <201208250747.q7P7lD63001303@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Sat Aug 25 07:47:12 2012
New Revision: 239667
URL: http://svn.freebsd.org/changeset/base/239667

Log:
  Rename the gxemul console device to "ttyu0" to match the expectations of
  the default MIPS /etc/ttys.
  
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/dev/gxemul/cons/gxemul_cons.c

Modified: head/sys/dev/gxemul/cons/gxemul_cons.c
==============================================================================
--- head/sys/dev/gxemul/cons/gxemul_cons.c	Sat Aug 25 00:47:55 2012	(r239666)
+++ head/sys/dev/gxemul/cons/gxemul_cons.c	Sat Aug 25 07:47:12 2012	(r239667)
@@ -218,7 +218,7 @@ static void
 gxemul_cons_cnprobe(struct consdev *cp)
 {
 
-	sprintf(cp->cn_name, "gxcons");
+	sprintf(cp->cn_name, "ttyu0");
 	cp->cn_pri = CN_NORMAL;
 }
 
@@ -279,7 +279,7 @@ gxemul_cons_ttyinit(void *unused)
 
 	tp = tty_alloc(&gxemul_cons_ttydevsw, NULL);
 	tty_init_console(tp, 0);
-	tty_makedev(tp, NULL, "%s", "gxcons");
+	tty_makedev(tp, NULL, "%s", "ttyu0");
 	callout_init(&gxemul_cons_callout, CALLOUT_MPSAFE);
 	callout_reset(&gxemul_cons_callout, gxemul_cons_polltime,
 	    gxemul_cons_timeout, tp);



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