mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
camcontrol: add support for Toshiba drive firmware update
Thanks to Toshiba for providing the SCSI spec for their latest
generation drives so I could confirm how they operate.
The firmware download works in a pretty standard way, so this
is a straightforward table addition.
sbin/camcontrol/camcontrol.8:
Document that Toshiba drives are supported for fwdownload,
and that it was tested on TOSHIBA MG10SFA22TE 22TB drives.
sbin/camcontrol/fwdownload.c:
Add TOSHIBA to the known SCSI vendors list for fwdownload.
Sponsored by: Spectra Logic
(cherry picked from commit cd95f18c47)
This commit is contained in:
parent
31a363933e
commit
ce6c84abe6
2 changed files with 5 additions and 0 deletions
|
|
@ -1700,6 +1700,8 @@ Tested with Constellation ES (ST32000444SS), ES.2 (ST33000651SS) and
|
|||
ES.3 (ST1000NM0023) drives.
|
||||
.It SmrtStor
|
||||
Tested with 400GB Optimus SSDs (TXA2D20400GA6001).
|
||||
.It TOSHIBA
|
||||
Tested with 22TB MG10SFA22TE SAS drives.
|
||||
.El
|
||||
.Pp
|
||||
.Em WARNING! WARNING! WARNING!
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ typedef enum {
|
|||
VENDOR_SAMSUNG,
|
||||
VENDOR_SEAGATE,
|
||||
VENDOR_SMART,
|
||||
VENDOR_TOSHIBA,
|
||||
VENDOR_ATA,
|
||||
VENDOR_UNKNOWN
|
||||
} fw_vendor_t;
|
||||
|
|
@ -213,6 +214,8 @@ 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_TOSHIBA, "TOSHIBA", 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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue