diff options
author | pst <pst@FreeBSD.org> | 1997-06-04 04:52:40 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-06-04 04:52:40 +0000 |
commit | 21afca66c65ed0bb20c121b3620e5032a90181d9 (patch) | |
tree | ba61e76271148f01545f170829c0636d4b29fdbe /sys/isa/sioreg.h | |
parent | 593f5fe73a975236cdb133762163da61f1c92b11 (diff) | |
download | FreeBSD-src-21afca66c65ed0bb20c121b3620e5032a90181d9.zip FreeBSD-src-21afca66c65ed0bb20c121b3620e5032a90181d9.tar.gz |
If the boot blocks were using the serial port, read the system console
speed using the boot blocks, instead of a hardcoded value stuck in the
kernel. This way, you can have systems using the same kernel but different
console speeds.
Add a sysctl entry for changing the system console speed.
Lock the user tty speed to match the system console speed.
Nuke CONSPEED.
Reviewed by: bde
Diffstat (limited to 'sys/isa/sioreg.h')
-rw-r--r-- | sys/isa/sioreg.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/isa/sioreg.h b/sys/isa/sioreg.h index dbb6999..97a737a 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.7 1997/02/22 09:37:10 peter Exp $ + * $Id: sioreg.h,v 1.8 1997/04/05 13:15:50 bde Exp $ */ @@ -106,6 +106,5 @@ #define MSR_DDSR 0x02 #define MSR_DCTS 0x01 -#ifndef CONSPEED -#define CONSPEED (9600) -#endif +/* speed to initialize to during chip tests */ +#define SIO_TEST_SPEED 9600 |