Subject: CVS commit: src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 05/16/2005 21:43:33
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.