Author: sbruno
Date: Thu Aug 21 21:05:58 2014
New Revision: 270305
URL: http://svnweb.freebsd.org/changeset/base/270305

Log:
  Add the Samsung 843T as a 4k enabled drive
  
  Submitted by: Jason Wolfe <ja...@llnw.com>
  MFC after:    2 weeks
  Sponsored by: Limelight Networks

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 21 20:58:43 2014        (r270304)
+++ head/sys/cam/ata/ata_da.c   Thu Aug 21 21:05:58 2014        (r270305)
@@ -451,6 +451,14 @@ static struct ada_quirk_entry ada_quirk_
        },
        {
                /*
+                * Samsung 843T Series SSDs
+                * 4k optimised
+                */
+               { T_DIRECT, SIP_MEDIA_FIXED, "*", "SAMSUNG MZ7WD*", "*" },
+               /*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 21 20:58:43 2014        (r270304)
+++ head/sys/cam/scsi/scsi_da.c Thu Aug 21 21:05:58 2014        (r270305)
@@ -1119,6 +1119,14 @@ static struct da_quirk_entry da_quirk_ta
        },
        {
                /*
+                * Samsung 843T Series SSDs
+                * 4k optimised
+                */
+               { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "SAMSUNG MZ7WD*", "*" },
+               /*quirks*/DA_Q_4K
+       },
+       {
+               /*
                 * SuperTalent TeraDrive CT 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