summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi
diff options
context:
space:
mode:
authorsmh <smh@FreeBSD.org>2013-05-02 15:03:30 +0000
committersmh <smh@FreeBSD.org>2013-05-02 15:03:30 +0000
commitbd30a3f41d060e0da36cce5c25467fe57ae77ac9 (patch)
tree2caeab242a628090842f58cba0d87ea218cffd5d /sys/cam/scsi
parent0a4bbe752e905cd1aa3220882176732c1fc9d1d2 (diff)
downloadFreeBSD-src-bd30a3f41d060e0da36cce5c25467fe57ae77ac9.zip
FreeBSD-src-bd30a3f41d060e0da36cce5c25467fe57ae77ac9.tar.gz
Enable CAM SCSI to choice ATA TRIM during autodetection and correct method
names after increasing the priority of ATA TRIM. Reviewed by: mav Approved by: pjd (mentor) MFC after: 1 week
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r--sys/cam/scsi/scsi_da.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index c485d53..d3e21a6 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -133,14 +133,14 @@ typedef enum {
DA_DELETE_WS16,
DA_DELETE_WS10,
DA_DELETE_ZERO,
- DA_DELETE_MIN = DA_DELETE_UNMAP,
+ DA_DELETE_MIN = DA_DELETE_ATA_TRIM,
DA_DELETE_MAX = DA_DELETE_ZERO
} da_delete_methods;
static const char *da_delete_method_names[] =
- { "NONE", "DISABLE", "UNMAP", "ATA_TRIM", "WS16", "WS10", "ZERO" };
+ { "NONE", "DISABLE", "ATA_TRIM", "UNMAP", "WS16", "WS10", "ZERO" };
static const char *da_delete_method_desc[] =
- { "NONE", "DISABLED", "UNMAP", "ATA TRIM", "WRITE SAME(16) with UNMAP",
+ { "NONE", "DISABLED", "ATA TRIM", "UNMAP", "WRITE SAME(16) with UNMAP",
"WRITE SAME(10) with UNMAP", "ZERO" };
/* Offsets into our private area for storing information */
OpenPOWER on IntegriCloud