svn commit: r298426 - head/sys/dev/fdc

Hans Petter Selasky hps at selasky.org
Thu Apr 21 18:41:02 UTC 2016


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


More information about the svn-src-all mailing list