From: Michael McMaster Date: Thu, 27 May 2021 22:48:21 +0000 (+1000) Subject: Remove the obsolete blind-writes config option X-Git-Tag: v6.4.11~1 X-Git-Url: http://git.codesrc.com/gitweb.cgi?a=commitdiff_plain;h=6cd7d74f1f2f332f05fda4bb7dc812cfb8a69aa4;p=SCSI2SD-V6.git Remove the obsolete blind-writes config option --- diff --git a/CHANGELOG b/CHANGELOG index 0783ca31..f37416a3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +20210628 6.4.11 + - Remove the "Blind Writes" option from scsi2sd-util. The firmware no longer + requires this option for improved write performance + 20210508 6.4.4 - More bug fixes for firmware hanging during read/writes diff --git a/include/scsi2sd.h b/include/scsi2sd.h index 1176a02c..9a988bf0 100755 --- a/include/scsi2sd.h +++ b/include/scsi2sd.h @@ -62,8 +62,8 @@ typedef enum typedef enum { - S2S_CFG_ENABLE_TERMINATOR = 1, - S2S_CFG_ENABLE_BLIND_WRITES = 2, + S2S_CFG_ENABLE_TERMINATOR = 1 + //S2S_CFG_ENABLE_BLIND_WRITES = 2, // Obosolete } S2S_CFG_FLAGS6; typedef enum diff --git a/src/scsi2sd-util6/BoardPanel.cc b/src/scsi2sd-util6/BoardPanel.cc index c342cb20..e7a3b190 100644 --- a/src/scsi2sd-util6/BoardPanel.cc +++ b/src/scsi2sd-util6/BoardPanel.cc @@ -158,16 +158,6 @@ BoardPanel::BoardPanel(wxWindow* parent, const S2S_BoardCfg& initialConfig) : myMapLunsCtrl->SetToolTip(_("Treat LUNS as IDs instead. Supports multiple drives on XEBEC S1410 SASI Bridge")); fgs->Add(myMapLunsCtrl); - - fgs->Add(new wxStaticText(this, wxID_ANY, wxT(""))); - myBlindWriteCtrl = - new wxCheckBox( - this, - ID_blindWriteCtrl, - _("Enable Blind Writes")); - myBlindWriteCtrl->SetToolTip(_("Enable writing to the SD card before all the SCSI data has been received.")); - fgs->Add(myBlindWriteCtrl); - wxBoxSizer* hbox = new wxBoxSizer(wxHORIZONTAL); hbox->Add(fgs, 1, wxALL | wxEXPAND, 15); this->SetSizer(hbox); @@ -193,8 +183,7 @@ BoardPanel::getConfig() const (mySelLatchCtrl->IsChecked() ? S2S_CFG_ENABLE_SEL_LATCH : 0) | (myMapLunsCtrl->IsChecked() ? S2S_CFG_MAP_LUNS_TO_IDS : 0); - config.flags6 = (myTermCtrl->IsChecked() ? S2S_CFG_ENABLE_TERMINATOR : 0) | - (myBlindWriteCtrl->IsChecked() ? S2S_CFG_ENABLE_BLIND_WRITES : 0); + config.flags6 = (myTermCtrl->IsChecked() ? S2S_CFG_ENABLE_TERMINATOR : 0); config.startupDelay = CtrlGetValue(myStartDelayCtrl).first; config.selectionDelay = CtrlGetValue(mySelDelayCtrl).first; @@ -211,7 +200,6 @@ BoardPanel::setConfig(const S2S_BoardCfg& config) myUnitAttCtrl->SetValue(config.flags & S2S_CFG_ENABLE_UNIT_ATTENTION); myScsi2Ctrl->SetValue(config.flags & S2S_CFG_ENABLE_SCSI2); myTermCtrl->SetValue(config.flags6 & S2S_CFG_ENABLE_TERMINATOR); - myBlindWriteCtrl->SetValue(config.flags6 & S2S_CFG_ENABLE_BLIND_WRITES); mySelLatchCtrl->SetValue(config.flags & S2S_CFG_ENABLE_SEL_LATCH); myMapLunsCtrl->SetValue(config.flags & S2S_CFG_MAP_LUNS_TO_IDS);