Patchwork libata: add ATA_CMD_DSM to ata_get_cmd_descript

login
register
mail settings
Submitter FUJITA Tomonori
Date July 5, 2010, 6:45 a.m.
Message ID <20100705154454U.fujita.tomonori@lab.ntt.co.jp>
Download mbox | patch
Permalink /patch/57867/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

FUJITA Tomonori - July 5, 2010, 6:45 a.m.
Why isn't ATA_CMD_DSM in ata_get_cmd_descript()?

=
From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Subject: [PATCH] libata: add ATA_CMD_DSM to ata_get_cmd_descript

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
 drivers/ata/libata-eh.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Jeff Garzik - July 14, 2010, 7:51 a.m.
On 07/05/2010 02:45 AM, FUJITA Tomonori wrote:
> Why isn't ATA_CMD_DSM in ata_get_cmd_descript()?
>
> =
> From: FUJITA Tomonori<fujita.tomonori@lab.ntt.co.jp>
> Subject: [PATCH] libata: add ATA_CMD_DSM to ata_get_cmd_descript
>
> Signed-off-by: FUJITA Tomonori<fujita.tomonori@lab.ntt.co.jp>
> ---
>   drivers/ata/libata-eh.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
> index f77a673..697474b 100644
> --- a/drivers/ata/libata-eh.c
> +++ b/drivers/ata/libata-eh.c
> @@ -2214,6 +2214,7 @@ const char *ata_get_cmd_descript(u8 command)
>   		{ ATA_CMD_SMART,		"SMART" },
>   		{ ATA_CMD_MEDIA_LOCK,		"DOOR LOCK" },
>   		{ ATA_CMD_MEDIA_UNLOCK,		"DOOR UNLOCK" },
> +		{ ATA_CMD_DSM,			"DATA SET MANAGEMENT" },
>   		{ ATA_CMD_CHK_MED_CRD_TYP, 	"CHECK MEDIA CARD TYPE" },

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

Patch

diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index f77a673..697474b 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -2214,6 +2214,7 @@  const char *ata_get_cmd_descript(u8 command)
 		{ ATA_CMD_SMART,		"SMART" },
 		{ ATA_CMD_MEDIA_LOCK,		"DOOR LOCK" },
 		{ ATA_CMD_MEDIA_UNLOCK,		"DOOR UNLOCK" },
+		{ ATA_CMD_DSM,			"DATA SET MANAGEMENT" },
 		{ ATA_CMD_CHK_MED_CRD_TYP, 	"CHECK MEDIA CARD TYPE" },
 		{ ATA_CMD_CFA_REQ_EXT_ERR, 	"CFA REQUEST EXTENDED ERROR" },
 		{ ATA_CMD_CFA_WRITE_NE,		"CFA WRITE SECTORS WITHOUT ERASE" },