diff options
author | Tejun Heo <htejun@gmail.com> | 2006-08-20 17:56:38 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-22 06:07:48 -0400 |
commit | f1a58ecae527fc67c87ce4dcb9e73894f64aadfe (patch) | |
tree | e89e6440350a6990023b77fd5a0d7e9f5f9c4b28 /drivers/ata | |
parent | d14b50cc60ca465290fcdb3b88e7d5fb684361ed (diff) | |
download | op-kernel-dev-f1a58ecae527fc67c87ce4dcb9e73894f64aadfe.zip op-kernel-dev-f1a58ecae527fc67c87ce4dcb9e73894f64aadfe.tar.gz |
[PATCH] ata_piix: fix ghost device probing by honoring PCS present bits
Move out PCS handling from piix_sata_prereset() into
piix_sata_present_mask() and use it from newly implemented
piix_sata_softreset(). Class codes for devices which are indicated to
be absent by PCS are cleared to ATA_DEV_NONE. This fixes ghost device
problem reported on ICH6 and 7.
This patch moves PCS handling from prereset to softreset, which makes
two behavior changes.
* perform softreset even when PCS indicates no device
* PCS handling is repeated before retrying softresets due to reset
failures.
Both behavior changes are intended and more consistent with how other
drivers behave.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions