diff mbox

libata: use the WRITE_SAME_16 define

Message ID 20091210093601.GA30917@lst.de
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Christoph Hellwig Dec. 10, 2009, 9:36 a.m. UTC
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>

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Jeff Garzik Dec. 17, 2009, 6:03 a.m. UTC | #1
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


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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: