Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2014 13:57:18 +0000 (UTC)
From:      Steven Hartland <smh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269974 - in head/sys/cam: ata scsi
Message-ID:  <201408141357.s7EDvIj5009201@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: smh
Date: Thu Aug 14 13:57:17 2014
New Revision: 269974
URL: http://svnweb.freebsd.org/changeset/base/269974

Log:
  Added 4K quirks for Corsair Force GT and Samsung 840 SSDs
  
  MFC after:	1 week
  Sponsored by:	Multiplay

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 Aug 14 13:45:02 2014	(r269973)
+++ head/sys/cam/ata/ata_da.c	Thu Aug 14 13:57:17 2014	(r269974)
@@ -299,10 +299,10 @@ static struct ada_quirk_entry ada_quirk_
 	},
 	{
 		/*
-		 * Corsair Force GT SSDs
+		 * Corsair Force GT & GS SSDs
 		 * 4k optimised & trim only works in 4k requests + 4k aligned
 		 */
-		{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair Force GT*", "*" },
+		{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Corsair Force G*", "*" },
 		/*quirks*/ADA_Q_4K
 	},
 	{
@@ -443,6 +443,14 @@ static struct ada_quirk_entry ada_quirk_
 	},
 	{
 		/*
+		 * Samsung 840 SSDs
+		 * 4k optimised
+		 */
+		{ T_DIRECT, SIP_MEDIA_FIXED, "*", "Samsung SSD 840*", "*" },
+		/*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 Aug 14 13:45:02 2014	(r269973)
+++ head/sys/cam/scsi/scsi_da.c	Thu Aug 14 13:57:17 2014	(r269974)
@@ -967,10 +967,10 @@ static struct da_quirk_entry da_quirk_ta
 	},
 	{
 		/*
-		 * Corsair Force GT SSDs
+		 * Corsair Force GT & GS SSDs
 		 * 4k optimised & trim only works in 4k requests + 4k aligned
 		 */
-		{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Corsair Force GT*", "*" },
+		{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Corsair Force G*", "*" },
 		/*quirks*/DA_Q_4K
 	},
 	{
@@ -1111,6 +1111,14 @@ static struct da_quirk_entry da_quirk_ta
 	},
 	{
 		/*
+		 * Samsung 840 SSDs
+		 * 4k optimised & trim only works in 4k requests + 4k aligned
+		 */
+		{ T_DIRECT, SIP_MEDIA_FIXED, "ATA", "Samsung SSD 840*", "*" },
+		/*quirks*/DA_Q_4K
+	},
+	{
+		/*
 		 * SuperTalent TeraDrive CT SSDs
 		 * 4k optimised & trim only works in 4k requests + 4k aligned
 		 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408141357.s7EDvIj5009201>