Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 16:34:10 +0000 (UTC)
From:      Bryan Venteicher <bryanv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255310 - head/sbin/camcontrol
Message-ID:  <201309061634.r86GYAHR018445@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bryanv
Date: Fri Sep  6 16:34:09 2013
New Revision: 255310
URL: http://svnweb.freebsd.org/changeset/base/255310

Log:
  Add firmware downloading support for Samsung drives
  
  Tested on Samsung SM1625 SSDs.

Modified:
  head/sbin/camcontrol/camcontrol.8
  head/sbin/camcontrol/fwdownload.c

Modified: head/sbin/camcontrol/camcontrol.8
==============================================================================
--- head/sbin/camcontrol/camcontrol.8	Fri Sep  6 15:41:37 2013	(r255309)
+++ head/sbin/camcontrol/camcontrol.8	Fri Sep  6 16:34:09 2013	(r255310)
@@ -1423,6 +1423,8 @@ PLEXTOR
 .It
 QUANTUM
 .It
+SAMSUNG
+.It
 SEAGATE
 .El
 .Pp

Modified: head/sbin/camcontrol/fwdownload.c
==============================================================================
--- head/sbin/camcontrol/fwdownload.c	Fri Sep  6 15:41:37 2013	(r255309)
+++ head/sbin/camcontrol/fwdownload.c	Fri Sep  6 16:34:09 2013	(r255310)
@@ -77,6 +77,7 @@ typedef enum {
 	VENDOR_PLEXTOR,
 	VENDOR_QUALSTAR,
 	VENDOR_QUANTUM,
+	VENDOR_SAMSUNG,
 	VENDOR_SEAGATE,
 	VENDOR_UNKNOWN
 } fw_vendor_t;
@@ -98,6 +99,7 @@ static const struct fw_vendor vendors_li
 	{VENDOR_PLEXTOR,	"PLEXTOR",	0x2000, 0x04, 0x05, 0, 1},
 	{VENDOR_QUALSTAR,	"QUALSTAR",	0x2030, 0x05, 0x05, 0, 0},
 	{VENDOR_QUANTUM,	"QUANTUM",	0x2000, 0x04, 0x05, 0, 1},
+	{VENDOR_SAMSUNG,	"SAMSUNG",	0x8000, 0x07, 0x07, 0, 1},
 	{VENDOR_SEAGATE,	"SEAGATE",	0x8000, 0x07, 0x07, 0, 1},
 	/* the next 2 are SATA disks going through SAS HBA */
 	{VENDOR_SEAGATE,	"ATA ST",	0x8000, 0x07, 0x07, 0, 1},



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