From d3c9fa6b5e6347bf54f48619c40d870566ef7691 Mon Sep 17 00:00:00 2001 From: pst Date: Wed, 4 Jun 1997 16:25:15 +0000 Subject: Bring back CONSPEED as a last-ditch default if you can't change the speed any other way. Requested by: dfr --- sys/isa/sioreg.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sys/isa/sioreg.h') diff --git a/sys/isa/sioreg.h b/sys/isa/sioreg.h index 97a737a..4a0c4cf 100644 --- a/sys/isa/sioreg.h +++ b/sys/isa/sioreg.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)comreg.h 7.2 (Berkeley) 5/9/91 - * $Id: sioreg.h,v 1.8 1997/04/05 13:15:50 bde Exp $ + * $Id: sioreg.h,v 1.9 1997/06/04 04:52:40 pst Exp $ */ @@ -107,4 +107,9 @@ #define MSR_DCTS 0x01 /* speed to initialize to during chip tests */ -#define SIO_TEST_SPEED 9600 +#define SIO_TEST_SPEED 9600 + +/* default serial console speed if not set with sysctl or probed from boot */ +#ifndef CONSPEED +#define CONSPEED 9600 +#endif -- cgit v1.1