svn commit: r273279 - in head/sys/cam: ata scsi
George V. Neville-Neil
gnn at FreeBSD.org
Sun Oct 19 16:46:37 UTC 2014
Author: gnn
Date: Sun Oct 19 16:46:36 2014
New Revision: 273279
URL: https://svnweb.freebsd.org/changeset/base/273279
Log:
Add new quirks for the latest Samsung SSD, model 850.
Submitted by: sbruno
MFC after: 2 weeks
Modified:
head/sys/cam/ata/ata_da.c
head/sys/cam/scsi/scsi_da.c
Modified: head/sys/cam/ata/ata_da.c
==============================================================================
--- head/sys/cam/ata/ata_da.c Sun Oct 19 16:26:49 2014 (r273278)
+++ head/sys/cam/ata/ata_da.c Sun Oct 19 16:46:36 2014 (r273279)
@@ -457,6 +457,14 @@ static struct ada_quirk_entry ada_quirk_
{ T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG MZ7WD*", "*" },
/*quirks*/ADA_Q_4K
},
+ {
+ /*
+ * Samsung 850 SSDs
+ * 4k optimised
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "Samsung SSD 850*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
{
/*
* Samsung PM853T Series SSDs
Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Sun Oct 19 16:26:49 2014 (r273278)
+++ head/sys/cam/scsi/scsi_da.c Sun Oct 19 16:46:36 2014 (r273279)
@@ -1132,6 +1132,14 @@ static struct da_quirk_entry da_quirk_ta
{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SAMSUNG MZ7WD*", "*" },
/*quirks*/DA_Q_4K
},
+ {
+ /*
+ * Samsung 850 SSDs
+ * 4k optimised & trim only works in 4k requests + 4k aligned
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Samsung SSD 850*", "*" },
+ /*quirks*/DA_Q_4K
+ },
{
/*
* Samsung PM853T Series SSDs
More information about the svn-src-all
mailing list