Date: Thu, 22 Mar 2012 19:34:46 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 208388 for review Message-ID: <201203221934.q2MJYkJY014393@skunkworks.freebsd.org>
index | next in thread | raw e-mail
http://p4web.freebsd.org/@@208388?ac=10 Change 208388 by rwatson@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; }home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203221934.q2MJYkJY014393>
