* libata: use the WRITE_SAME_16 define
@ 2009-12-10 9:36 Christoph Hellwig
2009-12-17 6:03 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2009-12-10 9:36 UTC (permalink / raw)
To: jgarzik; +Cc: linux-ide
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>
Index: linux-2.6/drivers/ata/libata-scsi.c
===================================================================
--- linux-2.6.orig/drivers/ata/libata-scsi.c 2009-12-10 10:21:05.735254334 +0100
+++ linux-2.6/drivers/ata/libata-scsi.c 2009-12-10 10:21:29.562255983 +0100
@@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xl
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:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libata: use the WRITE_SAME_16 define
2009-12-10 9:36 libata: use the WRITE_SAME_16 define Christoph Hellwig
@ 2009-12-17 6:03 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2009-12-17 6:03 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: linux-ide
On 12/10/2009 04:36 AM, Christoph Hellwig wrote:
> 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>
>
> Index: linux-2.6/drivers/ata/libata-scsi.c
> ===================================================================
> --- linux-2.6.orig/drivers/ata/libata-scsi.c 2009-12-10 10:21:05.735254334 +0100
> +++ linux-2.6/drivers/ata/libata-scsi.c 2009-12-10 10:21:29.562255983 +0100
> @@ -3022,7 +3022,7 @@ static inline ata_xlat_func_t ata_get_xl
> case WRITE_16:
> return ata_scsi_rw_xlat;
>
> - case 0x93 /*WRITE_SAME_16*/:
> + case WRITE_SAME_16:
> return ata_scsi_write_same_xlat;
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-17 6:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10 9:36 libata: use the WRITE_SAME_16 define Christoph Hellwig
2009-12-17 6:03 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).