summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-03-27 09:32:34 +0000
committermav <mav@FreeBSD.org>2015-03-27 09:32:34 +0000
commit122509b53e73b1e089a4b11c29fd72469d36e94d (patch)
tree1a9ac6cd71ce39d8c5fc98a122116f540a97188b
parent5169456c99701e8d6f9fea6a85b3ed0dc96e7657 (diff)
downloadFreeBSD-src-122509b53e73b1e089a4b11c29fd72469d36e94d.zip
FreeBSD-src-122509b53e73b1e089a4b11c29fd72469d36e94d.tar.gz
MFC r273445 (by imp):
Add defines for various FIRST PARTY DMA SEND subcommands.
-rw-r--r--sys/sys/ata.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/ata.h b/sys/sys/ata.h
index 00b22e4..2fa7e16 100644
--- a/sys/sys/ata.h
+++ b/sys/sys/ata.h
@@ -372,6 +372,10 @@ struct ata_params {
#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_SFPDMA_DSM 0x00 /* Data set management */
+#define ATA_SFPDMA_DSM_TRIM 0x01 /* Set trim bit in auxilary */
+#define ATA_SFPDMA_HYBRID_EVICT 0x01 /* Hybrid Evict */
+#define ATA_SFPDMA_WLDMA 0x02 /* Write Log DMA EXT */
#define ATA_RECV_FPDMA_QUEUED 0x65 /* recieve DMA NCQ */
#define ATA_SEP_ATTN 0x67 /* SEP request */
#define ATA_SEEK 0x70 /* seek */
OpenPOWER on IntegriCloud