summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2006-03-03 10:34:05 +0800
committerJeff Garzik <jeff@garzik.org>2006-03-03 12:19:43 -0500
commitc2956a3b0d1c17b38da369811a6ce93eb7a01a04 (patch)
tree4b70c386afe2547908a8f03f0746ff614eb393e0 /include/linux
parent801c63c38ae52e8bfb3f6518de00a0be22c55f9a (diff)
downloadop-kernel-dev-c2956a3b0d1c17b38da369811a6ce93eb7a01a04.zip
op-kernel-dev-c2956a3b0d1c17b38da369811a6ce93eb7a01a04.tar.gz
[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>
Diffstat (limited to 'include/linux')
-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 4699523..e7b0c21 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)
return (tf->command == ATA_CMD_READ_MULTI) ||
(tf->command == ATA_CMD_WRITE_MULTI) ||
(tf->command == ATA_CMD_READ_MULTI_EXT) ||
- (tf->command == ATA_CMD_WRITE_MULTI_EXT);
+ (tf->command == ATA_CMD_WRITE_MULTI_EXT) ||
+ (tf->command == ATA_CMD_WRITE_MULTI_FUA_EXT);
}
static inline int ata_ok(u8 status)
OpenPOWER on IntegriCloud