diff options
author | pst <pst@FreeBSD.org> | 1997-06-04 16:25:15 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-06-04 16:25:15 +0000 |
commit | d3c9fa6b5e6347bf54f48619c40d870566ef7691 (patch) | |
tree | 4de1a8df2700e2027c234b6b26676072e7aea59e /sys/dev/sio/sioreg.h | |
parent | 013b17e93c835c88011f39a63e378f3926f6f465 (diff) | |
download | FreeBSD-src-d3c9fa6b5e6347bf54f48619c40d870566ef7691.zip FreeBSD-src-d3c9fa6b5e6347bf54f48619c40d870566ef7691.tar.gz |
Bring back CONSPEED as a last-ditch default if you can't change the speed
any other way.
Requested by: dfr
Diffstat (limited to 'sys/dev/sio/sioreg.h')
-rw-r--r-- | sys/dev/sio/sioreg.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/sio/sioreg.h b/sys/dev/sio/sioreg.h index 97a737a..4a0c4cf 100644 --- a/sys/dev/sio/sioreg.h +++ b/sys/dev/sio/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 |