]> localhost Git - SCSI2SD-V6.git/commitdiff
Add support for XEBEC quirks config
authorMichael McMaster <michael@codesrc.com>
Sat, 2 Mar 2019 05:35:55 +0000 (15:35 +1000)
committerMichael McMaster <michael@codesrc.com>
Sat, 2 Mar 2019 05:35:55 +0000 (15:35 +1000)
src/scsi2sd-util6/ConfigUtil.cc

index 423622905f70badff4783ca586e5bce9fd2e2ff0..33edaff902eb59598f4df5e371f0eb826467b571 100755 (executable)
@@ -214,6 +214,7 @@ ConfigUtil::toXML(const S2S_TargetCfg& config)
                "       Space separated list. Available options:\n" <<
                "       apple\t\tReturns Apple-specific mode pages\n" <<
                "       omti\t\tOMTI host non-standard link control\n" <<
+               "       xebec\t\tXEBEC ignore step options in control byte\n" <<
                "       ********************************************************* -->\n" <<
                "       <quirks>";
        if (config.quirks == S2S_CFG_QUIRKS_APPLE)
@@ -224,6 +225,10 @@ ConfigUtil::toXML(const S2S_TargetCfg& config)
        {
                s << "omti";
        }
+       else if (config.quirks == S2S_CFG_QUIRKS_XEBEC)
+       {
+               s << "xebec";
+       }
 
        s <<
                        "</quirks>\n" <<
@@ -456,6 +461,10 @@ parseTarget(wxXmlNode* node)
                                {
                                        result.quirks |= S2S_CFG_QUIRKS_OMTI;
                                }
+                               else if (quirk == "xebec")
+                               {
+                                       result.quirks |= S2S_CFG_QUIRKS_XEBEC;
+                               }
                        }
                }
                else if (child->GetName() == "deviceType")