Message ID | 20210623153725.43617-1-dqfext@gmail.com |
---|---|
State | Accepted |
Delegated to: | Daniel Golle |
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=TdBoFzfG; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ict644/D; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G96vF26mGz9sRN for <incoming@patchwork.ozlabs.org>; Thu, 24 Jun 2021 01:41:45 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5MPC2bNAo4BieGeuNnNO413MuLiHnGW1QjZJuSmmRdc=; b=TdBoFzfGRn0o51 kPkCypn5McltYgTynnnJnTaP48S/VZcln1q7Lpgb7T+iEXfUkgqNbQu3ZwvYbtl8XSUxQmMI+xDLO qQElSYgrAt1YBwLtsgzrG3nNJc1QuT6nCLyBGcbcdiTcIi6+3c6Ar1E8v69Xkqh8LL7lVzybi3Zf6 f3zQ+kMyTMPoAx5DXKzswaQ6HB+O2m8EMubGDvOwyMM+R9NGBabs7prnf/qbbYKRXmQ4qqHmC11Ak WpIc5s9Gq7E1tnjUOapfZ/FkdeqIulv/6ObyOrELvRPS9c/xfnm5ZrcxiQ7/yKDADkQvx00fDzo74 f4cZKNwqXikU/cOaIexw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw4wc-00B9Yk-1T; Wed, 23 Jun 2021 15:37:38 +0000 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lw4wY-00B9Xy-I0 for openwrt-devel@lists.openwrt.org; Wed, 23 Jun 2021 15:37:35 +0000 Received: by mail-pg1-x531.google.com with SMTP id n12so2060223pgs.13 for <openwrt-devel@lists.openwrt.org>; Wed, 23 Jun 2021 08:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=9HyxtDGmEhsz1tZJYDIhuqNBtSqksBe8zszWurd8hwQ=; b=Ict644/D75X5rwon+zPTRfMBe+gUTKS3NZ+DKKw1+lC7tgtoCHv4frFzy3gxWztO4D bWbbHej1m1Bf8syE4QCVIIQlcMkojhBI9rr2wOE+G2d005BbIvyOteyi2vER/ZAZemXk Ucq49YojZ6mLYWWn7OMTfADGUKaEQhSr5fXTRHmCeEfc7XHiz253myN+Fj1+jgd/pqfB +3k/i4sIr/yusl4mqDSnO3xrh5DwaUoQS2gjgrKiEq9t/knR2nxlFPxxoQiMQJKo1brt 5Ef9xzydDal/IP7oLtnukdOY5YovKfJPHxe1lqLJYTlAiudSupmobny5ybk3W5Qj/FEC qu+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=9HyxtDGmEhsz1tZJYDIhuqNBtSqksBe8zszWurd8hwQ=; b=EZIyZodsddzwPvz0f525Ozngkiz116kBer3Mkr5+fL5eAnky+mv/IOlLvz9H+Xha2r OmvM5Ewu0J3l+NtypEwKFpWboAZAG7gv/+prB/0njcZ7TXpX6ImaO4JZQ/W3IHxWf4O0 RwoO8//iA8X9VS5+SeULRYxp4tiUky/ItdLF2D0GI1kQPR8tEEUvy3d6MkQJDBDIQIkv kriUDI+9nmlcpcGvPBr/m6WCqmevPUv0aFV1+7f/VUP3l9PCz6tLAGHeHSl7GsV7wOT4 gEGvJm/bNNZcv+z3A21jWdur1djqMNLh7gLnwmIOv77a/kKhJg7wwi9MSQGdWyWmpLfF HqNQ== X-Gm-Message-State: AOAM530Z37TynF0clkAcy6A8yFzqacbKg1zh63dF/XgH9YJ6FOzV3M5K aBMjIEWhCxozJrJEZu6IWxnhOjW214g= X-Google-Smtp-Source: ABdhPJyFqy2NCdokTtH8ZO5nrdOnGHwIYRdBs7sN9usCeKUxy6nkYgFtGgRmzolSuleuHnLfClwbsQ== X-Received: by 2002:a05:6a00:138f:b029:304:2af5:1e12 with SMTP id t15-20020a056a00138fb02903042af51e12mr363339pfg.5.1624462652647; Wed, 23 Jun 2021 08:37:32 -0700 (PDT) Received: from haswell-ubuntu20.lan ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id g17sm287644pgh.61.2021.06.23.08.37.30 for <openwrt-devel@lists.openwrt.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 08:37:31 -0700 (PDT) From: DENG Qingfang <dqfext@gmail.com> To: openwrt-devel@lists.openwrt.org Subject: [PATCH] ramips: mt7621: remove bring up DSA master init script Date: Wed, 23 Jun 2021 23:37:25 +0800 Message-Id: <20210623153725.43617-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210623_083734_636064_CC614D39 X-CRM114-Status: UNSURE ( 6.98 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: With commit 2e17c710954b, there is no need to bring up DSA master port manually. Signed-off-by: DENG Qingfang --- .../lib/preinit/07_mt7621_bringup_dsa_master | 20 1 file changed, 20 deletions(-) delete mode 100644 target/linux/ramips/mt7621/base-files/lib/pr [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:531 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [dqfext[at]gmail.com] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
ramips: mt7621: remove bring up DSA master init script
|
expand
|
diff --git a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master b/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master deleted file mode 100644 index 0f4660d242..0000000000 --- a/target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master +++ /dev/null @@ -1,20 +0,0 @@ -. /lib/functions.sh - -mt7621_bringup_dsa_master() { - local board=$(board_name) - local masterif - - case "$board" in - ubnt,edgerouter-x|\ - ubnt,edgerouter-x-sfp) - masterif="dsa" - ;; - *) - masterif="eth0" - ;; - esac - - ip link set $masterif up -} - -boot_hook_add preinit_main mt7621_bringup_dsa_master \ No newline at end of file
With commit 2e17c710954b, there is no need to bring up DSA master port manually. Signed-off-by: DENG Qingfang <dqfext@gmail.com> --- .../lib/preinit/07_mt7621_bringup_dsa_master | 20 ------------------- 1 file changed, 20 deletions(-) delete mode 100644 target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master