Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Revert rev 1.5:



details:   https://anonhg.NetBSD.org/src/rev/c57147bb633f
branches:  trunk
changeset: 955507:c57147bb633f
user:      rin <rin%NetBSD.org@localhost>
date:      Fri Oct 02 14:59:56 2020 +0000

description:
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!

diffstat:

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

diffs (27 lines):

diff -r d2e99333a720 -r c57147bb633f sys/dev/fdt/dw_apb_uart.c
--- a/sys/dev/fdt/dw_apb_uart.c Fri Oct 02 14:36:54 2020 +0000
+++ b/sys/dev/fdt/dw_apb_uart.c Fri Oct 02 14:59:56 2020 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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 @@
 
        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 = {



Home | Main Index | Thread Index | Old Index