]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] libata: always use polling IDENTIFY
authorTejun Heo <htejun@gmail.com>
Sun, 3 Dec 2006 12:34:13 +0000 (21:34 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 3 Dec 2006 12:58:10 +0000 (07:58 -0500)
commita45169e25e06b4e6b24827e621a4db22058de398
tree19e29f655836cd4808c668d736a83df552b7d8dd
parent171d4d096543f6aa18fbacf60cd6b4956978ed0e
[PATCH] libata: always use polling IDENTIFY

libata switched to IRQ-driven IDENTIFY when IRQ-driven PIO was
introduced.  This has caused a lot of problems including device
misdetection and phantom device.

ATA_FLAG_DETECT_POLLING was added recently to selectively use polling
IDENTIFY on problemetic drivers but many controllers and devices are
affected by this problem and trying to adding ATA_FLAG_DETECT_POLLING
for each such case is diffcult and not very rewarding.

This patch makes libata always use polling IDENTIFY.  This is
consistent with libata's original behavior and drivers/ide's behavior.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ata_piix.c
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/libata.h
include/linux/libata.h