summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata.h
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2006-12-03 21:34:13 +0900
committerJeff Garzik <jeff@garzik.org>2006-12-03 07:58:10 -0500
commit800b399669ad495ad4361d134df87401ae36f44f (patch)
tree19e29f655836cd4808c668d736a83df552b7d8dd /drivers/ata/libata.h
parent3ac551a6a63dcbc707348772a27bd7090b081524 (diff)
downloadlinux-800b399669ad495ad4361d134df87401ae36f44f.tar.gz
linux-800b399669ad495ad4361d134df87401ae36f44f.tar.bz2
linux-800b399669ad495ad4361d134df87401ae36f44f.zip
[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>
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r--drivers/ata/libata.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 1ff3f59504c9..107b2b565229 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -42,8 +42,6 @@ struct ata_scsi_args {
enum {
/* flags for ata_dev_read_id() */
ATA_READID_POSTRESET = (1 << 0), /* reading ID after reset */
- ATA_READID_DETECT = (1 << 1), /* perform presence detection
- * using polling IDENTIFY */
};
extern struct workqueue_struct *ata_aux_wq;