From: Tejun Heo Date: Fri, 26 Jan 2007 06:37:20 +0000 (+0900) Subject: ahci: use 0x80 as wait stat value instead of 0xff X-Git-Tag: v2.6.20-rc7~57^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfd7a3db3898e299bdc25f0c77081a8632b3a73c;p=pandora-kernel.git ahci: use 0x80 as wait stat value instead of 0xff Before hardreset, ahci initialized stat part of received FIS area to 0xff to wait for the first D2H Reg FIS which would change the value to device ready state. This used to work but now libata considers status value of 0xff as device not present making this wait prone to failure. This patch makes ahci use 0x80 for the wait stat value instead of 0xff to fix the above problem. Signed-off-by: Tejun Heo drivers/ata/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed