Date: Thu, 6 Jun 2013 10:27:34 +0000 (UTC) From: Steven Hartland <smh@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r251465 - stable/8/sys/sys Message-ID: <201306061027.r56ARYrd098235@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306061027.r56ARYrd098235>