From 2dc712130cfd6e14f488b410add88d98f1aadc14 Mon Sep 17 00:00:00 2001 From: Christian Fibich Date: Wed, 21 Aug 2024 12:36:23 +0200 Subject: [PATCH] allow LFD2NX devices to be specified with --device (#1353) --- nexus/arch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/arch.cc b/nexus/arch.cc index e6ff2e13..b6646253 100644 --- a/nexus/arch.cc +++ b/nexus/arch.cc @@ -48,7 +48,7 @@ void IdString::initialize_arch(const BaseCtx *ctx) Arch::Arch(ArchArgs args) : args(args) { // Parse device string - if (boost::starts_with(args.device, "LIFCL")) { + if (boost::starts_with(args.device, "LIFCL") || boost::starts_with(args.device, "LFD2NX")) { family = "LIFCL"; } else { log_error("Unknown device string '%s' (expected device name like 'LIFCL-40-8SG72C')\n", args.device.c_str());