libata: clear TF before IDENTIFYing
authorTejun Heo <htejun@gmail.com>
Wed, 7 Feb 2007 20:37:41 +0000 (12:37 -0800)
committerJeff Garzik <jeff@garzik.org>
Thu, 15 Feb 2007 23:04:01 +0000 (18:04 -0500)
commit81afe893181b283f9d182ea8637ce6ccdbe1a56a
tree2a86298615d17c73cfdf23d4c575e0a7bb0fbc39
parentf834e49f1a09414e9618ff0c9cd83c2114032bb6
libata: clear TF before IDENTIFYing

Some devices chock if Feature is not clear when IDENTIFY is issued.
Set ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE for IDENTIFY such that whole
TF is cleared when reading ID data.

Kudos to Art Haas for testing various futile patches over several
months and Mark Lord for pointing out the fix.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Art Haas <ahaas@airmail.net>
Cc: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c