From 3e4ed020b50433480ff6cb3280d3b5356afefc3f Mon Sep 17 00:00:00 2001 From: Per Fogelstrom Date: Wed, 15 Oct 1997 14:04:19 +0000 Subject: Allow setting the baud rate base from an external def --- sys/dev/ic/comreg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/comreg.h b/sys/dev/ic/comreg.h index 8d3fc00cb6d..fdbd1db4fc5 100644 --- a/sys/dev/ic/comreg.h +++ b/sys/dev/ic/comreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: comreg.h,v 1.6 1996/12/10 22:28:30 deraadt Exp $ */ +/* $OpenBSD: comreg.h,v 1.7 1997/10/15 14:04:18 pefo Exp $ */ /* $NetBSD: comreg.h,v 1.8 1996/02/05 23:01:50 scottr Exp $ */ /*- @@ -38,7 +38,9 @@ #include +#ifndef COM_FREQ /* allow to be set externally */ #define COM_FREQ 1843200 /* 16-bit baud rate divisor */ +#endif #define COM_TOLERANCE 30 /* baud rate tolerance, in 0.1% units */ /* interrupt enable register */ -- cgit v1.2.3