svn commit: r350712 - stable/12/sbin/camcontrol

Alexander Motin mav at FreeBSD.org
Thu Aug 8 00:33:24 UTC 2019


Author: mav
Date: Thu Aug  8 00:33:23 2019
New Revision: 350712
URL: https://svnweb.freebsd.org/changeset/base/350712

Log:
  MFC r345363 (by imp): Make WD and WDC aliases for HGST.
  
  HGST was bought by WDC. Over the years, it has sold different drives
  branded as HGST, WD or WDC. All of them need the HGST workaround of
  sending 4k-sized packets (or multiples of 4k). And the ones that don't
  really need this aren't broken by this change. Submitter is the vendor
  who has tested these changes on a number of drives. I've simplified it
  slightly, since we don't need additional vendors for this at this
  time.

Modified:
  stable/12/sbin/camcontrol/fwdownload.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sbin/camcontrol/fwdownload.c
==============================================================================
--- stable/12/sbin/camcontrol/fwdownload.c	Thu Aug  8 00:32:22 2019	(r350711)
+++ stable/12/sbin/camcontrol/fwdownload.c	Thu Aug  8 00:33:23 2019	(r350712)
@@ -212,6 +212,10 @@ static struct fw_vendor vendors_list[] = {
 	0x8000, 0x07, 0x07, 0, 1, FW_TUR_READY, WB_TIMEOUT, FW_TIMEOUT_DEFAULT},
 	{VENDOR_SMART,		"SmrtStor",	T_DIRECT,
 	0x8000, 0x07, 0x07, 0, 1, FW_TUR_READY, WB_TIMEOUT, FW_TIMEOUT_DEFAULT},
+	{VENDOR_HGST,	 	"WD",		T_DIRECT,
+	0x1000, 0x07, 0x07, 1, 0, FW_TUR_READY, WB_TIMEOUT, FW_TIMEOUT_DEFAULT},
+	{VENDOR_HGST,	 	"WDC",		T_DIRECT,
+	0x1000, 0x07, 0x07, 1, 0, FW_TUR_READY, WB_TIMEOUT, FW_TIMEOUT_DEFAULT},
 
 	/*
 	 * We match any ATA device.  This is really just a placeholder,


More information about the svn-src-all mailing list