Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/fdt The device cannot recognize break signal. Use ++...



details:   https://anonhg.NetBSD.org/src/rev/c9dc86b08c61
branches:  trunk
changeset: 1000306:c9dc86b08c61
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Jul 21 15:57:23 2019 +0000

description:
The device cannot recognize break signal. Use +++++ (five plus signs) as
cnmagic in the same manner with bcm2835_com.c.

diffstat:

 sys/dev/fdt/dw_apb_uart.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 032ecb26c8b9 -r c9dc86b08c61 sys/dev/fdt/dw_apb_uart.c
--- a/sys/dev/fdt/dw_apb_uart.c Sun Jul 21 15:51:58 2019 +0000
+++ b/sys/dev/fdt/dw_apb_uart.c Sun Jul 21 15:57:23 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dw_apb_uart.c,v 1.4 2018/12/08 17:46:13 thorpej Exp $ */
+/* $NetBSD: dw_apb_uart.c,v 1.5 2019/07/21 15:57:23 rin Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: dw_apb_uart.c,v 1.4 2018/12/08 17:46:13 thorpej Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dw_apb_uart.c,v 1.5 2019/07/21 15:57:23 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -182,6 +182,8 @@
 
        if (comcnattach(bst, addr, speed, uart_freq, COM_TYPE_DW_APB, flags))
                panic("Cannot initialize dw-apb-uart console");
+
+       cn_set_magic("+++++");
 }
 
 static const struct fdt_console dw_apb_uart_console = {



Home | Main Index | Thread Index | Old Index