Author: imp
Date: Wed Oct  7 05:44:35 2020
New Revision: 366507
URL: https://svnweb.freebsd.org/changeset/base/366507

Log:
  cam: Add quirk for Samsung MZ7* behind a SATA-to-SAS interposer
  
  Sometimes, this drive will be present in the system such that the the
  firmware identification string doesn't start with ATA, such as when
  it's behind a SATA-to-SAS interposer. Add another quirk for that.
  
  Submitted by: github user mr44er
  Github PR: 423

Modified:
  head/sys/cam/scsi/scsi_da.c

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Wed Oct  7 05:36:05 2020        (r366506)
+++ head/sys/cam/scsi/scsi_da.c Wed Oct  7 05:44:35 2020        (r366507)
@@ -1417,6 +1417,15 @@ static struct da_quirk_entry da_quirk_table[] =
        },
        {
                /*
+                 * Same as above but enable the quirks for SSD SAMSUNG MZ7*
+                 * connected via SATA-to-SAS interposer and because of this
+                 * starting without "ATA"
+                */
+               { T_DIRECT, SIP_MEDIA_FIXED, "SAMSUNG", "MZ7*", "*" },
+               /*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
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to