summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2014-05-08 08:30:18 +0000
committersmh <smh@FreeBSD.org>2014-05-08 08:30:18 +0000
commit82003879bc1aa4afabba76dc7f7a95df3ea8bc96 (patch)
tree03e6993e36ab1075348c78a4e6bed3ac4d4c9ae1
parentaaa39d2970806e7caa268c26f5379579e1bc33b2 (diff)
downloadFreeBSD-src-82003879bc1aa4afabba76dc7f7a95df3ea8bc96.zip
FreeBSD-src-82003879bc1aa4afabba76dc7f7a95df3ea8bc96.tar.gz
MFC r264853
Add some new ATA defines for SATA 3.1 spec Sponsored by: Multiplay
-rw-r--r--sys/sys/ata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/sys/ata.h b/sys/sys/ata.h
index cdf9fa7..c49f6b7 100644
--- a/sys/sys/ata.h
+++ b/sys/sys/ata.h
@@ -130,6 +130,7 @@ struct ata_params {
#define ATA_SATA_CURR_GEN_MASK 0x0006
#define ATA_SUPPORT_NCQ_STREAM 0x0010
#define ATA_SUPPORT_NCQ_QMANAGEMENT 0x0020
+#define ATA_SUPPORT_RCVSND_FPDMA_QUEUED 0x0040
/*78*/ u_int16_t satasupport;
#define ATA_SUPPORT_NONZERO 0x0002
#define ATA_SUPPORT_AUTOACTIVATE 0x0004
@@ -349,6 +350,7 @@ struct ata_params {
#define ATA_READ_NATIVE_MAX_ADDRESS48 0x27 /* read native max addr 48bit */
#define ATA_READ_MUL48 0x29 /* read multi 48bit LBA */
#define ATA_READ_STREAM_DMA48 0x2a /* read DMA stream 48bit LBA */
+#define ATA_READ_LOG_EXT 0x2f /* read log ext - PIO Data-In */
#define ATA_READ_STREAM48 0x2b /* read stream 48bit LBA */
#define ATA_WRITE 0x30 /* write */
#define ATA_WRITE48 0x34 /* write 48bit LBA */
@@ -363,8 +365,11 @@ struct ata_params {
#define ATA_WRITE_LOG_EXT 0x3f
#define ATA_READ_VERIFY 0x40
#define ATA_READ_VERIFY48 0x42
+#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_SEND_FPDMA_QUEUED 0x64 /* send DMA NCQ */
+#define ATA_RECV_FPDMA_QUEUED 0x65 /* recieve DMA NCQ */
#define ATA_SEP_ATTN 0x67 /* SEP request */
#define ATA_SEEK 0x70 /* seek */
#define ATA_PACKET_CMD 0xa0 /* packet command */
OpenPOWER on IntegriCloud