]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] the latest consensus libata resume fix
authorMark Lord <liml@rtr.ca>
Sun, 28 May 2006 15:28:00 +0000 (11:28 -0400)
committerChris Wright <chrisw@sous-sol.org>
Mon, 5 Jun 2006 17:18:14 +0000 (10:18 -0700)
commit17c384f205082ddfc1bf8bb3cfa63194b7aac5e7
tree9d7d32e14d26bc27dc13610281313149bb9da34a
parent822dee3afa4f03fc3fa89e5d5794143a909c4e6f
[PATCH] the latest consensus libata resume fix

Okay, just to sum things up.

This forces libata to wait for up to 2 seconds for BUSY|DRQ to clear
on resume before continuing.

[jgarzik adds...]  During testing we never saw DRQ asserted, but
nonetheless (a) this works and (b) testing for DRQ won't hurt.

Signed-off-by: Mark Lord <liml@rtr.ca>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/libata-core.c