diff options
author | Tejun Heo <tj@kernel.org> | 2008-11-27 13:36:48 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-12-01 13:49:27 -0500 |
commit | ac70a964b0e22a95af3628c344815857a01461b7 (patch) | |
tree | c5711139bd95053b9b5c8897e3f7cd50b8331141 /include | |
parent | 03f60840fa462e92220b093f778b2426ceab23af (diff) | |
download | op-kernel-dev-ac70a964b0e22a95af3628c344815857a01461b7.zip op-kernel-dev-ac70a964b0e22a95af3628c344815857a01461b7.tar.gz |
libata: blacklist Seagate drives which time out FLUSH_CACHE when used with NCQ
Some recent Seagate harddrives have firmware bug which causes FLUSH
CACHE to timeout under certain circumstances if NCQ is being used.
This can be worked around by disabling NCQ and fixed by updating the
firmware. Implement ATA_HORKAGE_FIRMWARE_UPDATE and blacklist these
devices.
The wiki page has been updated to contain information on this issue.
http://ata.wiki.kernel.org/index.php/Known_issues
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 59b0f1c..ed3f26e 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -375,6 +375,7 @@ enum { ATA_HORKAGE_BRIDGE_OK = (1 << 10), /* no bridge limits */ ATA_HORKAGE_ATAPI_MOD16_DMA = (1 << 11), /* use ATAPI DMA for commands not multiple of 16 bytes */ + ATA_HORKAGE_FIRMWARE_WARN = (1 << 12), /* firwmare update warning */ /* DMA mask for user DMA control: User visible values; DO NOT renumber */ |