]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ata_piix: apply device detection via polling IDENTIFY
authorTejun Heo <htejun@gmail.com>
Fri, 10 Nov 2006 09:08:10 +0000 (18:08 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:45:55 +0000 (22:45 -0500)
commit9bbf11a2b314ac631e8a8e9b69aa71e14e845fc0
tree1a4f1e55feb1eb957819145db702f6789a94b5d5
parent099383839b6052363289a91775d2c7f78aafaf94
[PATCH] ata_piix: apply device detection via polling IDENTIFY

PATA PIIX uses reset signature + TF r/w test for device presence
detection, which doesn't always work.  It sometimes reports phantom
device which results in IDENTIFY timeouts.

SATA PIIX uses some combination of PCS + reset signature + TF r/w test
for device presence detection.  No combination satifies all and for
some controllers, there doesn't seem to be any combination which
works reliably.

This patch makes both PATA and SATA piix's use reset signature + TF
r/w + polling IDENTIFY for device detection.  This is what the old
libata (before irq-pio and new EH) did and what IDE does.

This patch also removes now obsolete PIIX_FLAG_IGNORE_PCS, force_pcs
and related code.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ata_piix.c