diff options
author | thomas <thomas@FreeBSD.org> | 2007-03-26 21:56:13 +0000 |
---|---|---|
committer | thomas <thomas@FreeBSD.org> | 2007-03-26 21:56:13 +0000 |
commit | 093bc60d22712a5deaa64cf6d219143ebc398b98 (patch) | |
tree | 6308aa1c58620634924081f4e1cd97f138c2e82f /sys | |
parent | 21b5ddcd2ee53e7f6c2d3bb1ad0f212507f2bdd1 (diff) | |
download | FreeBSD-src-093bc60d22712a5deaa64cf6d219143ebc398b98.zip FreeBSD-src-093bc60d22712a5deaa64cf6d219143ebc398b98.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/i386/boot0/boot0.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/boot0/boot0.S b/sys/boot/i386/boot0/boot0.S index 0f19187..64be3dd 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 /* |