Correct serial port/no flow control.
authorhpa <hpa>
Wed, 21 Nov 2001 01:47:30 +0000 (01:47 +0000)
committerhpa <hpa>
Wed, 21 Nov 2001 01:47:30 +0000 (01:47 +0000)
isolinux.asm
ldlinux.asm
pxelinux.asm
syslinux.doc

index e88d52e..fdf54de 100644 (file)
@@ -1194,10 +1194,11 @@ pc_serial:      call getint                     ; "serial" command
 .valid_baud:   
                push ebx
                call skipspace
-               jc .parse_baud
+               jc .no_flow
                call ungetc
                call getint                     ; Hardware flow control?
                jnc .valid_flow
+.no_flow:
                xor bx,bx                       ; Default -> no flow control
 .valid_flow:
                and bh,0Fh                      ; FlowIgnore
index 722e748..65b9330 100644 (file)
@@ -1292,10 +1292,11 @@ pc_serial:      call getint                     ; "serial" command
 .valid_baud:   
                push ebx
                call skipspace
-               jc .parse_baud
+               jc .no_flow
                call ungetc
                call getint                     ; Hardware flow control?
                jnc .valid_flow
+.no_flow:
                xor bx,bx                       ; Default -> no flow control
 .valid_flow:
                and bh,0Fh                      ; FlowIgnore
index efcec2c..5a6976d 100644 (file)
@@ -1009,10 +1009,11 @@ pc_serial:      call getint                     ; "serial" command
 .valid_baud:   
                push ebx
                call skipspace
-               jc .parse_baud
+               jc .no_flow
                call ungetc
                call getint                     ; Hardware flow control?
                jnc .valid_flow
+.no_flow:
                xor bx,bx                       ; Default -> no flow control
 .valid_flow:
                and bh,0Fh                      ; FlowIgnore
index ffa3884..3a06485 100644 (file)
@@ -225,6 +225,7 @@ SERIAL port [[baudrate] flowcontrol]
        Typical values are:
 
            0 - No flow control (default)
+       0x303 - Null modem cable detect
        0x013 - RTS/CTS flow control
        0x813 - RTS/CTS flow control, modem input
        0x023 - DTR/DSR flow control