From 9068c00114278d0d4d16f2b2b5a3036c023bfed6 Mon Sep 17 00:00:00 2001 From: Thomas Quinot Date: Mon, 26 Mar 2007 21:56:13 +0000 Subject: [PATCH] Fix setting of serial port speed. A junk value was passed in AX when bioscom is called to set up serial port parameters because COMSPEED was treated as an address instead of an immediate value, causing serial port parameters to never be set. PR: i386/110828 Reviewed by: jhb MFC after: 2 weeks --- sys/boot/i386/boot0/boot0.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/i386/boot0/boot0.S b/sys/boot/i386/boot0/boot0.S index 0f1918732a5d..64be3dd6e901 100644 --- a/sys/boot/i386/boot0/boot0.S +++ b/sys/boot/i386/boot0/boot0.S @@ -96,7 +96,7 @@ main: /* * Initialize the serial port. bioscom preserves the driver number in DX. */ - movw COMSPEED,%ax # defined by Makefile + movw $COMSPEED,%ax # defined by Makefile callw bioscom #endif /*