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
This commit is contained in:
Thomas Quinot 2007-03-26 21:56:13 +00:00
parent 17e910a261
commit 9068c00114
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167914

View File

@ -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
/*