From 89dfb3cc4d82c4e919f2a024aacd08f577aa239a Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 31 May 2018 10:30:11 +0000 Subject: 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@ --- sys/arch/armv7/exynos/exuart.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sys') 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 * @@ -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, ®)) return; - exuartcnattach(&armv7_bs_tag, reg.addr, comcnspeed, comcnmode); + exuartcnattach(&armv7_bs_tag, reg.addr, B115200, TTYDEF_CFLAG); } int -- cgit v1.2.3