From: Tejun Heo Date: Wed, 1 Nov 2006 08:19:18 +0000 (+0900) Subject: [PATCH] ahci: fix status register check in ahci_softreset X-Git-Tag: v2.6.19-rc5~70^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1244a19cde42c268aa159d264fc2df072a3ff82f;p=pandora-kernel.git [PATCH] ahci: fix status register check in ahci_softreset ahci_softreset() used to use ahci_tf_read() which reads D2H_REG area to check for the Status register. However, this area is zeroed on initialization and not set by initial signature FIS. Replace it with ahci_check_status(). This bug prevented CLO code from being activated whenever BSY and/or DRQ is set prior to softreset. This fix makes AHCI_FLAG_RESET_NEEDS_CLO flag redundant. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed