Commit 0cdd6eb7 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jeff Garzik

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent c4bc7d73
...@@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd) ...@@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xlat_func(struct ata_device *dev, u8 cmd)
case WRITE_16: case WRITE_16:
return ata_scsi_rw_xlat; return ata_scsi_rw_xlat;
case 0x93 /*WRITE_SAME_16*/: case WRITE_SAME_16:
return ata_scsi_write_same_xlat; return ata_scsi_write_same_xlat;
case SYNCHRONIZE_CACHE: case SYNCHRONIZE_CACHE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment