Author: ae
Date: Wed Mar 16 20:04:56 2011
New Revision: 219702
URL: http://svn.freebsd.org/changeset/base/219702

Log:
  Set control flags in putc(). This should fix zfsboot hangs in drvread().
  
  PR:           kern/153552
  Reviewed by:  jhb
  MFC after:    1 week

Modified:
  head/sys/boot/i386/common/cons.c

Modified: head/sys/boot/i386/common/cons.c
==============================================================================
--- head/sys/boot/i386/common/cons.c    Wed Mar 16 17:09:51 2011        
(r219701)
+++ head/sys/boot/i386/common/cons.c    Wed Mar 16 20:04:56 2011        
(r219702)
@@ -37,6 +37,7 @@ void
 putc(int c)
 {
 
+       v86.ctl = V86_FLAGS;
        v86.addr = 0x10;
        v86.eax = 0xe00 | (c & 0xff);
        v86.ebx = 0x7;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to