svn commit: r251465 - stable/8/sys/sys

Steven Hartland smh at FreeBSD.org
Thu Jun 6 10:27:35 UTC 2013


Author: smh
Date: Thu Jun  6 10:27:34 2013
New Revision: 251465
URL: http://svnweb.freebsd.org/changeset/base/251465

Log:
  MFC r249931:
  Added Dataset Management defines to be used by TRIM

Modified:
  stable/8/sys/sys/ata.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/sys/   (props changed)

Modified: stable/8/sys/sys/ata.h
==============================================================================
--- stable/8/sys/sys/ata.h	Thu Jun  6 10:25:58 2013	(r251464)
+++ stable/8/sys/sys/ata.h	Thu Jun  6 10:27:34 2013	(r251465)
@@ -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-8 mailing list