From 59a4b82066414e1a326bc920da8d8d0ad21fef83 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 12 Jan 2008 13:32:24 +0000 Subject: Make comconsrate initialized to TTYDEF_SPEED at compile-time, for ports which need to setup the chip before comcnattach() is invoked. --- sys/dev/ic/com.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic/com.c') diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c index 9289543619e..634ab9401ce 100644 --- a/sys/dev/ic/com.c +++ b/sys/dev/ic/com.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com.c,v 1.119 2008/01/08 00:29:36 dlg Exp $ */ +/* $OpenBSD: com.c,v 1.120 2008/01/12 13:32:23 miod Exp $ */ /* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */ /* @@ -124,7 +124,7 @@ bus_addr_t comsiraddr; #endif #ifdef COM_CONSOLE int comconsfreq; -int comconsrate; +int comconsrate = TTYDEF_SPEED; int comconsinit; bus_addr_t comconsaddr; int comconsattached; -- cgit v1.2.3