Date: Thu, 21 Apr 2016 20:44:15 +0200 From: Hans Petter Selasky <hps@selasky.org> To: John Baldwin <jhb@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r298426 - head/sys/dev/fdc Message-ID: <57191F7F.4010900@selasky.org> In-Reply-To: <201604211837.u3LIbalm092252@repo.freebsd.org> References: <201604211837.u3LIbalm092252@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/21/16 20:37, John Baldwin wrote: > - tsleep(fdc, PRIBIO, "fdcrst", hz); > + if (cold) > + DELAY(1000000); > + else > + tsleep(fdc, PRIBIO, "fdcrst", hz); Hi, pause() and pause_sbt() does exactly this, checking for "cold" and using DELAY(). --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57191F7F.4010900>