summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrin <rin@NetBSD.org>2020-10-02 14:59:56 +0000
committerrin <rin@NetBSD.org>2020-10-02 14:59:56 +0000
commitdfbbdc81c85c3f860ee10e12ce4292e752ad32ed (patch)
tree3c4b20b0f0cf34d64035c795cd4f021f8791fbfc /sys/dev
parent8db170eb98b8136348b555601022cd5774716db5 (diff)
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 (limited to 'sys/dev')
-rw-r--r--sys/dev/fdt/dw_apb_uart.c6
1 files changed, 2 insertions, 4 deletions
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 <jmcneill@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_attach_args *faa, u_int uart_freq)
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 = {