From dfbbdc81c85c3f860ee10e12ce4292e752ad32ed Mon Sep 17 00:00:00 2001 From: rin Date: Fri, 2 Oct 2020 14:59:56 +0000 Subject: 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! --- sys/dev/fdt/dw_apb_uart.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/fdt/dw_apb_uart.c b/sys/dev/fdt/dw_apb_uart.c index c0cd69f23c1..a0bab219195 100644 --- a/sys/dev/fdt/dw_apb_uart.c +++ b/sys/dev/fdt/dw_apb_uart.c @@ -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 @@ -28,7 +28,7 @@ #include -__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 #include @@ -183,8 +183,6 @@ dw_apb_uart_console_consinit(struct fdt_attach_args *faa, u_int uart_freq) if (comcnattach1(®s, 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 = { -- cgit