Subject: CVS commit: [netbsd-3] src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 05/27/2005 23:10:52
Module Name:	src
Committed By:	riz
Date:		Fri May 27 23:10:52 UTC 2005

Modified Files:
	src/sys/dev/ata [netbsd-3]: ata.c atavar.h

Log Message:
Pull up revision 1.68 (requested by bouyer in ticket #328):
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.66 -r1.66.2.1 src/sys/dev/ata/ata.c
cvs rdiff -r1.67 -r1.67.2.1 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.