summaryrefslogtreecommitdiff
path: root/themes/openSUSE
diff options
context:
space:
mode:
authorSteffen Winterfeldt <wfeldt@opensuse.org>2008-09-11 13:26:51 +0000
committerSteffen Winterfeldt <wfeldt@opensuse.org>2008-09-11 13:26:51 +0000
commit3727992f46b557a6739ab5744f80c06e0df71306 (patch)
treeb37253219b05e25e4bbc74d3aca2f33fa759d1d9 /themes/openSUSE
parenta0e356a91b721dde03d15bfb2e4d6a8ea04ac690 (diff)
- baud rate autodetect
Diffstat (limited to 'themes/openSUSE')
-rw-r--r--themes/openSUSE/data-install/gfxboot.cfg6
-rw-r--r--themes/openSUSE/src/serial.inc2
2 files changed, 4 insertions, 4 deletions
diff --git a/themes/openSUSE/data-install/gfxboot.cfg b/themes/openSUSE/data-install/gfxboot.cfg
index ce10941..e92f9ed 100644
--- a/themes/openSUSE/data-install/gfxboot.cfg
+++ b/themes/openSUSE/data-install/gfxboot.cfg
@@ -133,13 +133,13 @@ dud.url.name=
; serial line setup (up to four lines)
; format: port,baud,dev
; - port: 0-3: first four BIOS serial lines (COM1-COM4); >=4: I/O port (0x3f8)
-; - baud: baud rate (e.g. 115200)
+; - baud: baud rate (e.g. 115200); 0 = autodetect (considers baud rates >= 9600)
; - dev: linux device name (e.g. ttyS0)
; - all lines are set up with 8 bits, no parity, 1 stop bit
; - if the bootloader also has a serial line setup, the port is
; automatically used
-serial.line0=0,115200,ttyS0
-serial.line1=1,115200,ttyS1
+serial.line0=0,0,ttyS0
+serial.line1=1,0,ttyS1
serial.line2=
serial.line3=
diff --git a/themes/openSUSE/src/serial.inc b/themes/openSUSE/src/serial.inc
index 91e072c..94e5434 100644
--- a/themes/openSUSE/src/serial.inc
+++ b/themes/openSUSE/src/serial.inc
@@ -492,7 +492,7 @@ Edit boot options.
serial.lines length serial.tmp.bm le { .undef return } if
serial.lines serial.tmp.bm get 2 aget dup .undef ne {
- serial.lines serial.tmp.bm get 1 get cvn exch
+ serial.tmp.bm serial.getbaud exch
"console=%s,%d" serial.console.buf sprintf
serial.console.buf
} if