Author: smh
Date: Tue Jul  9 10:41:17 2013
New Revision: 253091
URL: http://svnweb.freebsd.org/changeset/base/253091

Log:
  Added 4K QUIRK for OCZ Vertex 4 SSDs
  
  Submitted by: Borja Marcos <bor...@sarenet.es>
  MFC after:    2 days

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   Tue Jul  9 10:27:26 2013        (r253090)
+++ head/sys/cam/ata/ata_da.c   Tue Jul  9 10:41:17 2013        (r253091)
@@ -396,6 +396,14 @@ static struct ada_quirk_entry ada_quirk_
        },
        {
                /*
+                * OCZ Vertex 4 SSDs
+                * 4k optimised & trim only works in 4k requests + 4k aligned
+                */
+               { T_DIRECT, SIP_MEDIA_FIXED, "*", "OCZ-VERTEX4*", "*" },
+               /*quirks*/ADA_Q_4K
+       },
+       {
+               /*
                 * Samsung 830 Series SSDs
                 * 4k optimised
                 */

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Tue Jul  9 10:27:26 2013        (r253090)
+++ head/sys/cam/scsi/scsi_da.c Tue Jul  9 10:41:17 2013        (r253091)
@@ -1031,6 +1031,14 @@ static struct da_quirk_entry da_quirk_ta
        },
        {
                /*
+                * OCZ Vertex 4 SSDs
+                * 4k optimised & trim only works in 4k requests + 4k aligned
+                */
+               { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "OCZ-VERTEX4*", "*" },
+               /*quirks*/DA_Q_4K
+       },
+       {
+               /*
                 * Samsung 830 Series SSDs
                 * 4k optimised & trim only works in 4k requests + 4k aligned
                 */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to