diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-23 11:41:55 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-09-23 11:41:55 +0000 |
commit | 98a3bcd0143d4daf592e599e655a27f70da6dafc (patch) | |
tree | e5cf91da67d9aa2c6f8d2d6df9a9002db16ef741 /sys/dev/ata/atascsi.h | |
parent | 02b5813eed38623060bec9f56db4e793c9d3b0f2 (diff) |
commands and bits for data set management.
Diffstat (limited to 'sys/dev/ata/atascsi.h')
-rw-r--r-- | sys/dev/ata/atascsi.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/ata/atascsi.h b/sys/dev/ata/atascsi.h index 42d23800462..2f516bd142a 100644 --- a/sys/dev/ata/atascsi.h +++ b/sys/dev/ata/atascsi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.h,v 1.43 2010/09/20 06:02:50 dlg Exp $ */ +/* $OpenBSD: atascsi.h,v 1.44 2010/09/23 11:41:54 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -38,6 +38,7 @@ struct scsi_link; #define ATA_C_IDENTIFY 0xec #define ATA_C_SET_FEATURES 0xef #define ATA_C_SEC_FREEZE_LOCK 0xf5 +#define ATA_C_DSM 0x06 /* * ATA SET FEATURES subcommands @@ -163,6 +164,11 @@ struct ata_identify { #define ATA_IDENTIFY_LOOKAHEAD (1 << 6) /* + * ATA DSM (Data Set Management) subcommands + */ +#define ATA_DSM_TRIM 0x01 + +/* * Frame Information Structures */ |