aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2006-03-02 21:34:05 -0500
committerJeff Garzik <jeff@garzik.org>2006-03-03 12:19:43 -0500
commitc2956a3b0d1c17b38da369811a6ce93eb7a01a04 (patch)
tree4b70c386afe2547908a8f03f0746ff614eb393e0
parent801c63c38ae52e8bfb3f6518de00a0be22c55f9a (diff)
[PATCH] libata-dev: recognize WRITE_MULTI_FUA_EXT for r/w multiple
Recognize ATA_CMD_WRITE_MULTI_FUA_EXT as r/w multiple commands. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--include/linux/ata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ata.h b/include/linux/ata.h
index 469952366ed4..e7b0c21f6cd4 100644
--- a/include/linux/ata.h
+++ b/include/linux/ata.h
@@ -314,7 +314,8 @@ static inline int is_multi_taskfile(struct ata_taskfile *tf)
314 return (tf->command == ATA_CMD_READ_MULTI) || 314 return (tf->command == ATA_CMD_READ_MULTI) ||
315 (tf->command == ATA_CMD_WRITE_MULTI) || 315 (tf->command == ATA_CMD_WRITE_MULTI) ||
316 (tf->command == ATA_CMD_READ_MULTI_EXT) || 316 (tf->command == ATA_CMD_READ_MULTI_EXT) ||
317 (tf->command == ATA_CMD_WRITE_MULTI_EXT); 317 (tf->command == ATA_CMD_WRITE_MULTI_EXT) ||
318 (tf->command == ATA_CMD_WRITE_MULTI_FUA_EXT);
318} 319}
319 320
320static inline int ata_ok(u8 status) 321static inline int ata_ok(u8 status)