Date: Wed, 2 Mar 2005 03:34:51 +0000 (UTC) From: "Matthew N. Dodd" <mdodd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ata ata-lowlevel.c Message-ID: <200503020334.j223YpFe025131@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdodd 2005-03-02 03:34:51 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-lowlevel.c
Log:
In ata_generic_reset() while waiting for both master & slave to become
idle the 'mask' variable could be set to 0, resulting in the timeout loop
running for the full 31 seconds.
Handling this case eliminates long hangs on resume on some systems.
Submitted by: Nate Lawson <nate AT root.org>
Revision Changes Path
1.52 +4 -1 src/sys/dev/ata/ata-lowlevel.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503020334.j223YpFe025131>
