Subject: PR/30194 CVS commit: src/sys/dev/ata
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@netbsd.org>
List: netbsd-bugs
Date: 05/16/2005 21:44:01
The following reply was made to PR kern/30194; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30194 CVS commit: src/sys/dev/ata
Date: Mon, 16 May 2005 21:43:33 +0000 (UTC)

 Module Name:	src
 Committed By:	bouyer
 Date:		Mon May 16 21:43:33 UTC 2005
 
 Modified Files:
 	src/sys/dev/ata: ata.c atavar.h
 
 Log Message:
 Add a ata_queue_idle() function, which freeze a queue and tsleep() until the
 controller is idle.
 Change the powerhook function to call ata_queue_idle() on standby/suspend,
 and ata_reset_channel() on resume (to wake up the disks and start from a
 clean state).
 Fix PR kern/30194 by Lubomir Sedlacik.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.67 -r1.68 src/sys/dev/ata/ata.c src/sys/dev/ata/atavar.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.