summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-05-31 10:30:11 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-05-31 10:30:11 +0000
commit89dfb3cc4d82c4e919f2a024aacd08f577aa239a (patch)
tree296c7281417e280dc9a3f457df07bd6e39ea70a7 /sys
parent4d9aeb25b75325536a32b31749e2a1fe9eee9490 (diff)
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@
Diffstat (limited to 'sys')
-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