diff options
| author | Tejun Heo <htejun@gmail.com> | 2006-11-01 11:19:18 +0300 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-11-01 12:20:45 +0300 |
| commit | 1244a19cde42c268aa159d264fc2df072a3ff82f (patch) | |
| tree | 8ec73ccd9bc59b221d8bd9b315656ad3b521cfb6 /net/unix/garbage.c | |
| parent | 30574b61611ccd29677989097f8c8a5d9a73d873 (diff) | |
| download | linux-1244a19cde42c268aa159d264fc2df072a3ff82f.tar.xz | |
[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 <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
