diff options
author | Christoph Hellwig <hch@lst.de> | 2009-12-10 04:36:01 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-12-17 01:02:09 -0500 |
commit | 0cdd6eb7e08fc39e9c906cc46b6ee9095c3077a9 (patch) | |
tree | 510c8328eb3dbd1c4994490fba11699521c68537 /drivers/ata/libata-scsi.c | |
parent | c4bc7d7310a40c8c0b917e88983dc4a8e6b59e38 (diff) |
libata: use the WRITE_SAME_16 define
Now that the scsi tree has hit mainline we can use the newly added WRITE_SAME_16
define.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
-rw-r--r-- | drivers/ata/libata-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 1683ebda900b..f4ea5a8c325b 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd) | |||
3022 | case WRITE_16: | 3022 | case WRITE_16: |
3023 | return ata_scsi_rw_xlat; | 3023 | return ata_scsi_rw_xlat; |
3024 | 3024 | ||
3025 | case 0x93 /*WRITE_SAME_16*/: | 3025 | case WRITE_SAME_16: |
3026 | return ata_scsi_write_same_xlat; | 3026 | return ata_scsi_write_same_xlat; |
3027 | 3027 | ||
3028 | case SYNCHRONIZE_CACHE: | 3028 | case SYNCHRONIZE_CACHE: |