svn commit: r250532 - head/sys/cam/ata

Eitan Adler eadler at FreeBSD.org
Sat May 11 23:13:50 UTC 2013


Author: eadler
Date: Sat May 11 23:13:49 2013
New Revision: 250532
URL: http://svnweb.freebsd.org/changeset/base/250532

Log:
  Intel's 320-series and 510-series SSDs advertise 512-byte sectors
  sizes for both logical and physical. Add ADA_Q_4K quirks
  for both.
  
  PR:		kern/178040
  Submitted by:	Jeremy Chadwick <jdc at koitsu.org>

Modified:
  head/sys/cam/ata/ata_da.c

Modified: head/sys/cam/ata/ata_da.c
==============================================================================
--- head/sys/cam/ata/ata_da.c	Sat May 11 22:32:43 2013	(r250531)
+++ head/sys/cam/ata/ata_da.c	Sat May 11 23:13:49 2013	(r250532)
@@ -350,6 +350,14 @@ static struct ada_quirk_entry ada_quirk_
 	},
 	{
 		/*
+		 * Intel 320 Series SSDs
+		 * 4k optimised & trim only works in 4k requests + 4k aligned
+		 */
+		{ T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSA2CW*", "*" },
+		/*quirks*/ADA_Q_4K
+	},
+	{
+		/*
 		 * Intel 330 Series SSDs
 		 * 4k optimised & trim only works in 4k requests + 4k aligned
 		 * Submitted by: Steven Hartland <steven.hartland at multiplay.co.uk>
@@ -360,6 +368,14 @@ static struct ada_quirk_entry ada_quirk_
 	},
 	{
 		/*
+		 * Intel 510 Series SSDs
+		 * 4k optimised & trim only works in 4k requests + 4k aligned
+		 */
+		{ T_DIRECT, SIP_MEDIA_FIXED, "*", "INTEL SSDSC2MH*", "*" },
+		/*quirks*/ADA_Q_4K
+	},
+	{
+		/*
 		 * OCZ Deneva R Series SSDs
 		 * 4k optimised & trim only works in 4k requests + 4k aligned
 		 * Submitted by: Steven Hartland <steven.hartland at multiplay.co.uk>


More information about the svn-src-all mailing list