]> err.no Git - linux-2.6/commit
[PATCH] the latest consensus libata resume fix
authorMark Lord <liml@rtr.ca>
Sun, 28 May 2006 15:28:00 +0000 (11:28 -0400)
committerJeff Garzik <jeff@garzik.org>
Sun, 28 May 2006 20:32:08 +0000 (16:32 -0400)
commit0737ac895afbfbe210557fa5fbafcca932d5fa7c
tree35b521b93f100f5aba2dc78a978fcec3b42afdae
parentecd68853b852cdafb138f9c437f3a751fe7dc381
[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>
drivers/scsi/libata-core.c