cvs commit: src/sys/dev/ata ata-all.c

Gleb Smirnoff glebius at freebsd.org
Mon Feb 28 10:25:07 GMT 2005


  Matthew, Soren,

On Sun, Feb 27, 2005 at 08:35:23PM +0000, Matthew N. Dodd wrote:
M> mdodd       2005-02-27 20:35:23 UTC
M> 
M>   FreeBSD src repository
M> 
M>   Modified files:        (Branch: RELENG_5)
M>     sys/dev/ata          ata-all.c 
M>   Log:
M>   MFC: 1.235
M>   
M>   Avoid using tsleep() in the resume path as it may result in the
M>   system hanging if timer interrupts aren't running yet.
M>   
M>   This allows my Thinkpad to resume successfully with APM.

We also need to MFC 1.233, because it fixes broken suspend.

revision 1.233
date: 2004/10/19 20:13:38;  author: sos;  state: Exp;  lines: +10 -10
Idle the channel earlier in reinit().
Cosmetic change to suspend, dont call tsleep an extra time at exit.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


More information about the cvs-all mailing list