aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/forth/loader.conf
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2005-08-18 01:39:43 +0000
committerIan Dowse <iedowse@FreeBSD.org>2005-08-18 01:39:43 +0000
commit4832a19173a22b89071fc7c178a982dd3a758e78 (patch)
tree2bd3f8b92928c4902f341d508484eca99bcf78ce /sys/boot/forth/loader.conf
parenta00a259113386508d26882780ad746fbc558a235 (diff)
downloadsrc-4832a19173a22b89071fc7c178a982dd3a758e78.tar.gz
src-4832a19173a22b89071fc7c178a982dd3a758e78.zip
Add a "comconsole_speed" loader variable that can be used to change
the serial console speed (i386 and amd64 only). If the previous stage boot loader requested a serial console (RB_SERIAL or RB_MULTIPLE) then the default speed is determined from the current serial port speed. Otherwise it is set to 9600 or the value of BOOT_COMCONSOLE_SPEED at compile time. This makes it possible to set the serial port speed once in /boot.config and the setting will propagate to boot2, loader and the kernel serial console.
Notes
Notes: svn path=/head/; revision=149213
Diffstat (limited to 'sys/boot/forth/loader.conf')
-rw-r--r--sys/boot/forth/loader.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf
index 8f97c1f5ac31..fcaf4e5ade4e 100644
--- a/sys/boot/forth/loader.conf
+++ b/sys/boot/forth/loader.conf
@@ -47,6 +47,7 @@ loader_color="NO" # Set this to YES to enable splash screen colors
# allowed to interrupt autoboot process and
# escape to the loader prompt
#beastie_disable="NO" # Turn the beastie boot menu on and off
+#comconsole_speed="9600" # Set the current serial console speed
#console="vidconsole" # A comma separated list of console(s)
#currdev="disk1s1a" # Set the current device
module_path="/boot/modules" # Set the module search path