svn commit: r326040 - in head/sys/cam: ata scsi

Alan Somers asomers at FreeBSD.org
Mon Nov 20 23:45:43 UTC 2017


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
 	},
 	{


More information about the svn-src-all mailing list