svn commit: r297237 - in head/sys/cam: ata scsi
Sean Bruno
sbruno at FreeBSD.org
Thu Mar 24 14:20:34 UTC 2016
Author: sbruno
Date: Thu Mar 24 14:20:33 2016
New Revision: 297237
URL: https://svnweb.freebsd.org/changeset/base/297237
Log:
Add 4k enabled cam quirks for Samsung SM863 Series SSDs
Submitted by: Jason (j at nitrology.com)
MFC after: 2 weeks
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D5711
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 Thu Mar 24 13:34:39 2016 (r297236)
+++ head/sys/cam/ata/ata_da.c Thu Mar 24 14:20:33 2016 (r297237)
@@ -490,6 +490,14 @@ static struct ada_quirk_entry ada_quirk_
},
{
/*
+ * Samsung SM863 Series SSDs
+ * 4k optimised
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG MZ7KM*", "*" },
+ /*quirks*/ADA_Q_4K
+ },
+ {
+ /*
* SuperTalent TeraDrive CT SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Thu Mar 24 13:34:39 2016 (r297236)
+++ head/sys/cam/scsi/scsi_da.c Thu Mar 24 14:20:33 2016 (r297237)
@@ -1162,6 +1162,14 @@ static struct da_quirk_entry da_quirk_ta
},
{
/*
+ * Samsung SM863 Series SSDs
+ * 4k optimised
+ */
+ { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SAMSUNG MZ7KM*", "*" },
+ /*quirks*/DA_Q_4K
+ },
+ {
+ /*
* SuperTalent TeraDrive CT SSDs
* 4k optimised & trim only works in 4k requests + 4k aligned
*/
More information about the svn-src-head
mailing list