diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-12 13:32:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-01-12 13:32:24 +0000 |
commit | 59a4b82066414e1a326bc920da8d8d0ad21fef83 (patch) | |
tree | 09e0b30b12a4c4177d1f172787a864e4545f9546 /sys/dev/ic | |
parent | a0f943522f15e96ee722b1206a6ca46a5cbebc74 (diff) |
Make comconsrate initialized to TTYDEF_SPEED at compile-time, for ports
which need to setup the chip before comcnattach() is invoked.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/com.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |