svn commit: r297681 - in stable/10/sys/cam: ata scsi

Sean Bruno sbruno at FreeBSD.org
Thu Apr 7 18:03:43 UTC 2016


Author: sbruno
Date: Thu Apr  7 18:03:42 2016
New Revision: 297681
URL: https://svnweb.freebsd.org/changeset/base/297681

Log:
  MFC r297237
  
  Add 4k enabled cam quirks for Samsung SM863 Series SSDs

Modified:
  stable/10/sys/cam/ata/ata_da.c
  stable/10/sys/cam/scsi/scsi_da.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ata/ata_da.c
==============================================================================
--- stable/10/sys/cam/ata/ata_da.c	Thu Apr  7 17:45:01 2016	(r297680)
+++ stable/10/sys/cam/ata/ata_da.c	Thu Apr  7 18:03:42 2016	(r297681)
@@ -485,6 +485,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: stable/10/sys/cam/scsi/scsi_da.c
==============================================================================
--- stable/10/sys/cam/scsi/scsi_da.c	Thu Apr  7 17:45:01 2016	(r297680)
+++ stable/10/sys/cam/scsi/scsi_da.c	Thu Apr  7 18:03:42 2016	(r297681)
@@ -1157,6 +1157,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-all mailing list