From: Tejun Heo Date: Wed, 31 May 2006 09:27:50 +0000 (+0900) Subject: [PATCH] libata-hp-prep: implement followup softreset handling X-Git-Tag: v2.6.18-rc1~1079^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=664faf09a05d74085c0b31e2c621d7647322325b;p=pandora-kernel.git [PATCH] libata-hp-prep: implement followup softreset handling In some cases, hardreset must be followed by SRST. * some controllers can't classify with hardreset * some controllers can't wait for !BSY after hardreset (LLDD should explicitly request followup softreset by returning -EAGAIN) * (later) PM needs SRST w/ PMP==15 to operate after hardreset To handle above cases, this patch implements follow-up softreset. After a hardreset, ata_eh_reset() checks whether any of above conditions are met and do a follow-up softreset if necessary. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed