svn commit: r251309 - stable/9/sys/sys
Steven Hartland
smh at FreeBSD.org
Mon Jun 3 16:50:17 UTC 2013
Author: smh
Date: Mon Jun 3 16:50:16 2013
New Revision: 251309
URL: http://svnweb.freebsd.org/changeset/base/251309
Log:
MFC r249931:
Added Dataset Management defines to be used by TRIM
Modified:
stable/9/sys/sys/ata.h
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/sys/ (props changed)
Modified: stable/9/sys/sys/ata.h
==============================================================================
--- stable/9/sys/sys/ata.h Mon Jun 3 16:47:46 2013 (r251308)
+++ stable/9/sys/sys/ata.h Mon Jun 3 16:50:16 2013 (r251309)
@@ -261,6 +261,12 @@ struct ata_params {
/*255*/ u_int16_t integrity;
} __packed;
+/* ATA Dataset Management */
+#define ATA_DSM_BLK_SIZE 512
+#define ATA_DSM_BLK_RANGES 64
+#define ATA_DSM_RANGE_SIZE 8
+#define ATA_DSM_RANGE_MAX 65535
+
/*
* ATA Device Register
*
More information about the svn-src-stable-9
mailing list