svn commit: r270832 - in head/sys: cam/ata sys

Warner Losh imp at FreeBSD.org
Sat Aug 30 02:13:05 UTC 2014


Author: imp
Date: Sat Aug 30 02:13:04 2014
New Revision: 270832
URL: http://svnweb.freebsd.org/changeset/base/270832

Log:
  Add a few defines and packet types for SATA 3.2 and FPDMA (First Party
  DMA).
  
  Sponsored by: Netflix

Modified:
  head/sys/cam/ata/ata_all.c
  head/sys/sys/ata.h

Modified: head/sys/cam/ata/ata_all.c
==============================================================================
--- head/sys/cam/ata/ata_all.c	Sat Aug 30 02:12:58 2014	(r270831)
+++ head/sys/cam/ata/ata_all.c	Sat Aug 30 02:13:04 2014	(r270832)
@@ -108,6 +108,9 @@ ata_op_string(struct ata_cmd *cmd)
 	case 0x51: return ("CONFIGURE_STREAM");
 	case 0x60: return ("READ_FPDMA_QUEUED");
 	case 0x61: return ("WRITE_FPDMA_QUEUED");
+	case 0x63: return ("NCQ_NON_DATA");
+	case 0x64: return ("SEND_FPDMA_QUEUED");
+	case 0x65: return ("RECEIVE_FPDMA_QUEUED");
 	case 0x67:
 		if (cmd->features == 0xec)
 			return ("SEP_ATTN IDENTIFY");

Modified: head/sys/sys/ata.h
==============================================================================
--- head/sys/sys/ata.h	Sat Aug 30 02:12:58 2014	(r270831)
+++ head/sys/sys/ata.h	Sat Aug 30 02:13:04 2014	(r270832)
@@ -370,6 +370,7 @@ struct ata_params {
 #define ATA_READ_LOG_DMA_EXT            0x47    /* read log DMA ext - PIO Data-In */
 #define ATA_READ_FPDMA_QUEUED           0x60    /* read DMA NCQ */
 #define ATA_WRITE_FPDMA_QUEUED          0x61    /* write DMA NCQ */
+#define ATA_NCQ_NON_DATA		0x63	/* NCQ non-data command */
 #define ATA_SEND_FPDMA_QUEUED           0x64    /* send DMA NCQ */
 #define ATA_RECV_FPDMA_QUEUED           0x65    /* recieve DMA NCQ */
 #define ATA_SEP_ATTN                    0x67    /* SEP request */


More information about the svn-src-all mailing list