summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2018-05-31 10:30:10 +0000
committerkettenis <kettenis@openbsd.org>2018-05-31 10:30:10 +0000
commitf1255e1ef149395e0cc196f679bc731b14ea9398 (patch)
tree051b257a1d7569c745f02af470912ca209657f84
parentRemove comcnspeed and comcnmode. They serve no purpose anymore. Configuring (diff)
downloadwireguard-openbsd-f1255e1ef149395e0cc196f679bc731b14ea9398.tar.xz
wireguard-openbsd-f1255e1ef149395e0cc196f679bc731b14ea9398.zip
Remove comcnspeed and comcnmode. They serve no purpose anymore. Configuring
the serial port speed can be done through the device tree and these days everybody uses 8N1 for the mode. ok patrick@, visa@, jsg@
-rw-r--r--sys/arch/armv7/exynos/exuart.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/armv7/exynos/exuart.c b/sys/arch/armv7/exynos/exuart.c
index 020cc91c127..4b0588750ea 100644
--- a/sys/arch/armv7/exynos/exuart.c
+++ b/sys/arch/armv7/exynos/exuart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exuart.c,v 1.14 2018/02/19 08:59:52 mpi Exp $ */
+/* $OpenBSD: exuart.c,v 1.15 2018/05/31 10:30:10 kettenis Exp $ */
/*
* Copyright (c) 2005 Dale Rahn <drahn@motorola.com>
*
@@ -108,9 +108,6 @@ struct exuart_softc *exuart_sc(dev_t dev);
int exuart_intr(void *);
-extern int comcnspeed;
-extern int comcnmode;
-
/* XXX - we imitate 'com' serial ports and take over their entry points */
/* XXX: These belong elsewhere */
cdev_decl(exuart);
@@ -152,7 +149,7 @@ exuart_init_cons(void)
if (fdt_get_reg(node, 0, &reg))
return;
- exuartcnattach(&armv7_bs_tag, reg.addr, comcnspeed, comcnmode);
+ exuartcnattach(&armv7_bs_tag, reg.addr, B115200, TTYDEF_CFLAG);
}
int