Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 06:27:58 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345363 - head/sbin/camcontrol
Message-ID:  <201903210627.x2L6Rwwg034706@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Mar 21 06:27:58 2019
New Revision: 345363
URL: https://svnweb.freebsd.org/changeset/base/345363

Log:
  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.
  
  Submitted by: JacobBurley via github on behalf of WDC
  Pull Request: https://github.com/freebsd/freebsd/pull/391

Modified:
  head/sbin/camcontrol/fwdownload.c

Modified: head/sbin/camcontrol/fwdownload.c
==============================================================================
--- head/sbin/camcontrol/fwdownload.c	Thu Mar 21 06:20:33 2019	(r345362)
+++ head/sbin/camcontrol/fwdownload.c	Thu Mar 21 06:27:58 2019	(r345363)
@@ -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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903210627.x2L6Rwwg034706>