From owner-svn-src-all@FreeBSD.ORG Wed Mar 16 20:25:50 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 1DC6F1065675; Wed, 16 Mar 2011 20:25:50 +0000 (UTC) Date: Wed, 16 Mar 2011 20:25:49 +0000 From: Alexander Best To: "Andrey V. Elsukov" Message-ID: <20110316202549.GA7239@freebsd.org> References: <201103162004.p2GK4u5X003068@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201103162004.p2GK4u5X003068@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r219702 - head/sys/boot/i386/common X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 20:25:50 -0000 On Wed Mar 16 11, Andrey V. Elsukov wrote: > 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(). i was looking at xputc() and putchar() and was wondering why these are two seperate functions? their funcionality can very easily be merged into a single one. cheers. alex > > 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; -- a13x