PERFORCE change 208388 for review

Robert Watson rwatson at FreeBSD.org
Thu Mar 22 19:34:47 UTC 2012


http://p4web.freebsd.org/@@208388?ac=10

Change 208388 by rwatson at rwatson_svr_ctsrd_mipsbuild on 2012/03/22 19:34:02

	For FreeBSD to auto-select a tty as /dev/console, it must by default
	match the name of the low-level system console used at boot.  Make
	the two match.  With this change I can happily get to single-user
	using our CHERI boot kernel substituting only the gxemul console
	driver for the Altera JTAG UART driver.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/mips/beri/altera_jtag_uart.c#5 edit
.. //depot/projects/ctsrd/beribsd/src/sys/mips/beri/gxemul_cons.c#4 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/mips/beri/altera_jtag_uart.c#5 (text+ko) ====

@@ -294,7 +294,7 @@
 aj_uart_cnprobe(struct consdev *cp)
 {
 
-	sprintf(cp->cn_name, "aj_uart");
+	sprintf(cp->cn_name, "ajuart");
 	cp->cn_pri = CN_NORMAL;
 }
 

==== //depot/projects/ctsrd/beribsd/src/sys/mips/beri/gxemul_cons.c#4 (text+ko) ====

@@ -217,7 +217,7 @@
 gxemul_cons_cnprobe(struct consdev *cp)
 {
 
-	sprintf(cp->cn_name, "gxemul_cons");
+	sprintf(cp->cn_name, "gxcons");
 	cp->cn_pri = CN_NORMAL;
 }
 


More information about the p4-projects mailing list