summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sioreg.h
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1997-06-04 04:52:40 +0000
committerpst <pst@FreeBSD.org>1997-06-04 04:52:40 +0000
commit21afca66c65ed0bb20c121b3620e5032a90181d9 (patch)
treeba61e76271148f01545f170829c0636d4b29fdbe /sys/dev/sio/sioreg.h
parent593f5fe73a975236cdb133762163da61f1c92b11 (diff)
downloadFreeBSD-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/dev/sio/sioreg.h')
-rw-r--r--sys/dev/sio/sioreg.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/sio/sioreg.h b/sys/dev/sio/sioreg.h
index dbb6999..97a737a 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.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
OpenPOWER on IntegriCloud