Author: asomers
Date: Mon Nov 20 23:45:42 2017
New Revision: 326040
URL: https://svnweb.freebsd.org/changeset/base/326040

Log:
  Quirk Seagate ST8000AS0003-2HH
  
  Like its predecessor ST8000AS0002, this is a drive-managed SMR drive, but
  doesn't declare that in its ATA identify data.
  
  MFC after:    3 weeks
  Sponsored by: Spectra Logic Corp

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   Mon Nov 20 22:55:02 2017        (r326039)
+++ head/sys/cam/ata/ata_da.c   Mon Nov 20 23:45:42 2017        (r326040)
@@ -753,7 +753,7 @@ static struct ada_quirk_entry ada_quirk_table[] =
                 * Drive Managed SATA hard drive.  This drive doesn't report
                 * in firmware that it is a drive managed SMR drive.
                 */
-               { T_DIRECT, SIP_MEDIA_FIXED, "*", "ST8000AS0002*", "*" },
+               { T_DIRECT, SIP_MEDIA_FIXED, "*", "ST8000AS000[23]*", "*" },
                /*quirks*/ADA_Q_SMR_DM
        },
        {

Modified: head/sys/cam/scsi/scsi_da.c
==============================================================================
--- head/sys/cam/scsi/scsi_da.c Mon Nov 20 22:55:02 2017        (r326039)
+++ head/sys/cam/scsi/scsi_da.c Mon Nov 20 23:45:42 2017        (r326040)
@@ -1346,7 +1346,7 @@ static struct da_quirk_entry da_quirk_table[] =
                 * Drive Managed SATA hard drive.  This drive doesn't report
                 * in firmware that it is a drive managed SMR drive.
                 */
-               { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "ST8000AS0002*", "*" },
+               { T_DIRECT, SIP_MEDIA_FIXED, "ATA", "ST8000AS000[23]*", "*" },
                /*quirks*/DA_Q_SMR_DM
        },
        {
_______________________________________________
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