diff options
author | Christoph Hellwig <hch@lst.de> | 2009-12-10 10:36:01 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-12-17 07:02:09 +0100 |
commit | 0cdd6eb7e08fc39e9c906cc46b6ee9095c3077a9 (patch) | |
tree | 510c8328eb3dbd1c4994490fba11699521c68537 /drivers/ata/libata-scsi.c | |
parent | sata_mv: move the PCI bar description initialization code (diff) | |
download | linux-0cdd6eb7e08fc39e9c906cc46b6ee9095c3077a9.tar.xz linux-0cdd6eb7e08fc39e9c906cc46b6ee9095c3077a9.zip |
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) case WRITE_16: return ata_scsi_rw_xlat; - case 0x93 /*WRITE_SAME_16*/: + case WRITE_SAME_16: return ata_scsi_write_same_xlat; case SYNCHRONIZE_CACHE: |