From patchwork Sat May 13 21:21:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1780974 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: legolas.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=LoEoqGwb; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Bt9oIe9W; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QJdtf4gG7z20dV for ; Sun, 14 May 2023 07:24:25 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oxavfg3+FpRTu3955L/ZI3/TG/gmup2VMyYKJTXjcxk=; b=LoEoqGwbYs3aU3 LRFjo8bULRUZxDFJUZrfZJPs+vdvvB0Z+YhGXwGN364DqcULuwQBOiaX9PpHUzoIdquUFNEY+0hkl xm6cqMjdndad4nt5PhjM6Yz9Ih7AzXqQ/4qqiCiVuefMwOK/z33oiyzZx8f1ggwaUsnmZn8UUY5GT IbbycecBoEVL1QqQGLnZPRFSgt+zi4HP4ZyRs7Imlkebph2A7gBeE927pqa8IaF4bDRGsdM/5a6T4 epmPjDTzHN9dQc9zEec+CrP4yngEJVEu5GK85+W0Q65O4QfaaI6HRh1hVvbV+LZiE9LK74AG2/ct9 SIIvn7HC/f+lcvrayYZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pxwgc-00FrB7-1N; Sat, 13 May 2023 21:21:54 +0000 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pxwgX-00Fr9f-1P for openwrt-devel@lists.openwrt.org; Sat, 13 May 2023 21:21:50 +0000 Received: by mail-lj1-x22a.google.com with SMTP id 38308e7fff4ca-2ac80ed7f26so121406561fa.1 for ; Sat, 13 May 2023 14:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684012907; x=1686604907; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zbvtDsOfW3XyCU75CoOnKxD3/hoBZzSev78ula4n1DM=; b=Bt9oIe9W3zN4fFGLeouk5vKlu9uIs7YBtB2m4cHjLsDdJMlekBPCzwr9j74TbCDVRo YxTBaaI2HUqylDR/B/IC53TzdD2d1IIry95/xelt/0ZQpM+g/HoxgK9uZBokhA+qmmwt Se0XY0nS9+3y8pol4u4wJEvwwDMqktcbEoBvheo4FqDCWI+RpppKQ/RKNuzxqgW1IogE Ui+WU8i3jZA3Z23pVJrmZuXds1cU5y35xvkF74M7wFswg81wZRpA4zKxhzY19vOJZThp PiZSRxY8bkh9sfRXS5wX48A59hPynmcGdKrs7swsc82O5siUaIt7tmb8fm4ljG5PQlq0 WtLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684012907; x=1686604907; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zbvtDsOfW3XyCU75CoOnKxD3/hoBZzSev78ula4n1DM=; b=BJoViM9pRizfotuDkSH1BpT2wTPA6n4Kol9DA/7Fnk0DqZ+2gOFO8u+WC9kl+554iS iZGlt2k7lnYuPvt40fcL6gB+6T/w/BcZRoQ4oIyYYegYjZEqBEqBrE38Mzwo+cy68rY9 AnwprOC38vSvVBeJOs1Kcb6YlzE9xqWsZFuGiBYsmnJItO9XkqZ/cCkvlXvTkhoGfexx qRv4Fi0LflipTNQ5FI7EzRb1EhOQGO0z3AAXNUmv1gV9j7+IJDLwroBtrkUi+aaYxLnT ozJDzex4l7KutB+L6lB8MUsQQdiOFqNnjksBZ7Uw97/knclKoy3jzlTg1Eme7LhaV8ch SR/g== X-Gm-Message-State: AC+VfDzvAfI2K8Y93914irXk0nwBGh90OeRlArQO4sUGcAWjNSqxnzsB 5M3ZqJdMwZsm42JZZQtLbM6/Y+hMFzYcYtoUxjI= X-Google-Smtp-Source: ACHHUZ5S/s4Hflbhec1xaB6l8ZPiiOYx/Y6RKWPnj3tKDBZOIOuLvGBB7IUGpzhAARMJ27n4YDJ1EA== X-Received: by 2002:a2e:9f47:0:b0:2ac:90db:2a3d with SMTP id v7-20020a2e9f47000000b002ac90db2a3dmr5478278ljk.8.1684012907477; Sat, 13 May 2023 14:21:47 -0700 (PDT) Received: from Fecusia.lan (c-05d8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.216.5]) by smtp.gmail.com with ESMTPSA id m19-20020a2e9113000000b00293d7c95df1sm3285669ljg.78.2023.05.13.14.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 May 2023 14:21:47 -0700 (PDT) From: Linus Walleij To: openwrt-devel@lists.openwrt.org Cc: Christian Lamparter , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Linus Walleij Subject: [PATCH 4/4] bcm53xx: Add network configuration for DIR-890L Date: Sat, 13 May 2023 23:21:37 +0200 Message-Id: <20230513212137.1272012-5-linus.walleij@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230513212137.1272012-1-linus.walleij@linaro.org> References: <20230513212137.1272012-1-linus.walleij@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230513_142149_469543_E1095077 X-CRM114-Status: UNSURE ( 8.47 ) 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: This adds the lan/wan default bridge config and also the MAC NVRAM read-out for et2. DIR-885L was missing a default bridge config so I just added that too while I was at it. Signed-off-by: Linus Walleij --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 5 +++++ 1 file changed, 5 insertions(+) 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 [2a00:1450:4864:20:0:0:0:22a 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.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This adds the lan/wan default bridge config and also the MAC NVRAM read-out for et2. DIR-885L was missing a default bridge config so I just added that too while I was at it. Signed-off-by: Linus Walleij --- target/linux/bcm53xx/base-files/etc/board.d/02_network | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network index 6bec600540ea..35b1efc91323 100644 --- a/target/linux/bcm53xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network @@ -16,6 +16,10 @@ bcm53xx_setup_interfaces() asus,rt-ac88u) ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 extsw" "wan" ;; + dlink,dir-885l | \ + dlink,dir-890l) + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "wan" + ;; dlink,dwl-8610ap) ucidef_set_interface_lan "eth0 eth1" "dhcp" ;; @@ -50,6 +54,7 @@ bcm53xx_setup_macs() offset=1 ;; dlink,dir-885l | \ + dlink,dir-890l | \ linksys,panamera | \ netgear,r7900 | \ netgear,r8000 | \