Module Name:    src
Committed By:   rin
Date:           Fri Oct  2 14:59:56 UTC 2020

Modified Files:
        src/sys/dev/fdt: dw_apb_uart.c

Log Message:
Revert rev 1.5:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/fdt/dw_apb_uart.c#rev1.5

The device is capable to recognize break signal actually.
Reset cnmagic from +++++ to default.

Pointed out by jakllsch. Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/fdt/dw_apb_uart.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/fdt/dw_apb_uart.c
diff -u src/sys/dev/fdt/dw_apb_uart.c:1.7 src/sys/dev/fdt/dw_apb_uart.c:1.8
--- src/sys/dev/fdt/dw_apb_uart.c:1.7	Mon Sep 28 11:34:47 2020
+++ src/sys/dev/fdt/dw_apb_uart.c	Fri Oct  2 14:59:56 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: dw_apb_uart.c,v 1.7 2020/09/28 11:34:47 jmcneill Exp $ */
+/* $NetBSD: dw_apb_uart.c,v 1.8 2020/10/02 14:59:56 rin Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcne...@invisible.ca>
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: dw_apb_uart.c,v 1.7 2020/09/28 11:34:47 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: dw_apb_uart.c,v 1.8 2020/10/02 14:59:56 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -183,8 +183,6 @@ dw_apb_uart_console_consinit(struct fdt_
 
 	if (comcnattach1(&regs, 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 = {

Reply via email to