From patchwork Fri Jan 19 07:48:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyson Lok X-Patchwork-Id: 863354 X-Patchwork-Delegate: pepe2k@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="E/Z6EALm"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YRPGcc6y"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zNCcy5C5xz9s81 for ; Fri, 19 Jan 2018 18:48:50 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id: Date:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jh4LXXhFfY2PpQpP5R+HYXr/JHxoSka32WKwEHLD9Yg=; b=E/Z6EALmS4ie52 NQJapqwhIHOBJL5tMnhJaGLeiSa/ncpB9vgKscfpR6ibr5Aq5/9R1ZG46LSdXSy+2Zle+/sYVTiCc zDLHDaTdlu3FrKXlp9viuTiNxNMM655uzKzm3GloL/gOXIoXeArUcb/e9JXbiRl8rgkGbBQExP01S X3cUHojuYjaabeO7CVNui81BQ6nAn5r2HVQJq9MK4zgPvmXiASwcObuWlsTwE9b7vDnUX519zkAKE JjahOQYwUIkzdA3V+deqQz2NvhzniR5HCcJIVsS+TMjz0hS3KLV9yFYNQYz4uCMF9/xfuOX/Bkz0D yLucryi79LYLWa5gRn5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ecRPs-0007Bq-3M; Fri, 19 Jan 2018 07:48:48 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ecRPn-0007Aw-LB for lede-dev@lists.infradead.org; Fri, 19 Jan 2018 07:48:45 +0000 Received: by mail-pf0-x242.google.com with SMTP id p1so802819pfh.4 for ; Thu, 18 Jan 2018 23:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=F3mz44nZiw66S89Gbkr1UrsMc4cpvuGnOzckq9oETYI=; b=YRPGcc6yJgUPyb++fS4/A8BG3aFik6s2LU4kjmdqtF7GTyK6u0bYMu3elAi+7cN1QK yBwh05jNeQaKihjlq7MLS9aLztJCBX7ud+Y52EqWEvTRwHxVFNsjx3obw4N4uA9wIg3Y I+owMVq436NTA48LTA3pGRHk1uvg2sFaVRO+o+y+A2LHHIG9D0SktcgTwfwi5pLBotak dnVrEihHeIXUAScQfxZWjWllhLzJPKkqE90t/wxuSGQUI+Q8tJ0kwD+n4psRSDWGYBO8 d7pATLqRjMOjdP02rFTJbysOoQk4gYhHQ6LL43TYhPaNQEvtLYgppBhR6NgDp6TpOFI3 lBzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=F3mz44nZiw66S89Gbkr1UrsMc4cpvuGnOzckq9oETYI=; b=rUTjVPGrrzY2rwIsimnrAbOwHDIwKMYWMkHGr/FgaQH61G+ncE7hZ4e5T7olBDOmHZ 6cjGAsNSLhGYzileVnRnjTkxYVe14/LFxHCKk2H+zrkU3+B0JSnBcI46GDjy2LPEYmwq 40/saqKwlkJIK5lNY3EjSrYlAQ7EGhWqxobxHQjLpucI/bPWSnd8j72zyACdqF+h98oP O81nKTl2MlocwoE8Snhatg0/KcV6IuiFtTWUnBRkw2dt+a8gC/ildjVydHdacT0U1kHw nHBHm6NNwEis+yWVbcW6rJ2rUFik+WjMAyfwTB2P1FiNTFDlLkqX6bW2ibDzsglINFe1 lGaA== X-Gm-Message-State: AKwxyteT5rnPcJkgER1xj8adeOlio++byL2SEhR/X5UzSFZDEScnsGCD 9XCxhuEUjIwwHKp4b+ktFNruLg== X-Google-Smtp-Source: ACJfBovfDgUL9G7MpajXRYF4qabPkhaeyEwa1uyvtFMHMrxAwHJ947wizcxT5zTRglGJ6NEPHHbvdA== X-Received: by 10.101.92.195 with SMTP id b3mr8686542pgt.319.1516348112319; Thu, 18 Jan 2018 23:48:32 -0800 (PST) Received: from gl-inet.lan ([119.123.60.93]) by smtp.googlemail.com with ESMTPSA id s80sm17582192pfj.179.2018.01.18.23.48.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jan 2018 23:48:31 -0800 (PST) From: Kyson Lok To: lede-dev@lists.infradead.org Date: Fri, 19 Jan 2018 15:48:19 +0800 Message-Id: <1516348100-16796-1-git-send-email-kysonlok@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c00:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kysonlok[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [LEDE-DEV] [PATCH v2 1/2] ar71xx: uniform GL iNet products mach name X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kyson Lok MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The mach name of GL AR150 and GL AR300 is inconsistent with other products. Signed-off-by: Kyson Lok --- target/linux/ar71xx/base-files/lib/ar71xx.sh | 4 ++-- target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c | 2 +- target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index bf36598..78e2e5c 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -620,10 +620,10 @@ ar71xx_board_detect() { name="gl-inet" gl_inet_board_detect ;; - *"GL AR150") + *"GL-AR150") name="gl-ar150" ;; - *"GL AR300") + *"GL-AR300") name="gl-ar300" ;; *"GL-AR300M") diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c index e0d1ea4..30992c8 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c @@ -122,4 +122,4 @@ static void __init gl_ar150_setup(void) ath79_register_wmac(art + GL_AR150_CALDATA_OFFSET, art + GL_AR150_WMAC_MAC_OFFSET); } -MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL AR150",gl_ar150_setup); +MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL-AR150",gl_ar150_setup); diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c index 6f01b9e..ae96635 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c @@ -100,4 +100,4 @@ static void __init gl_ar300_setup(void) ath79_register_wmac(art + GL_AR300_CALDATA_OFFSET, art + GL_AR300_WMAC_MAC_OFFSET); } -MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL AR300",gl_ar300_setup); +MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL-AR300",gl_ar300_setup); From patchwork Fri Jan 19 07:48:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyson Lok X-Patchwork-Id: 863355 X-Patchwork-Delegate: pepe2k@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="F6ha+M8D"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eVhuhYyi"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zNCd65T0cz9s81 for ; Fri, 19 Jan 2018 18:48:58 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oPjMSStQEa9viPExlx2tvmIWgXwRnYbCYBuWCyPYyq0=; b=F6ha+M8DE6vIDF XW43NKAdPRUbjqtzVppdLNPZ46eqdOAmm+DQeXjsQOWfm2k1VVOiwt+b1iCMDyUIR7hhzZK6/Y8q5 potq3VMYGOt1z7p4lqMAV3H1zV4nOfg/DK7zqo2M1Xyxov8cky++BO7oMcEPW5bp1O80BjRRa/gg3 NBuZnZeoa2jTSlX8Rqo7iCxOANg/ULQ5jIA21SkAJ1xfDkHzUyOScu/52diVvDQivODlVYQVdCZN5 3X8u0Y4Y7OkhetIHp+209aC30HmsVOdaYZmtGF3uAxCvVnQLp/cdpULsuYwDR20nrB4QcjfMO86XG KNu2OUHcRAHLnETwrwbA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ecRQ0-0007KJ-CW; Fri, 19 Jan 2018 07:48:56 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ecRPq-0007B8-PP for lede-dev@lists.infradead.org; Fri, 19 Jan 2018 07:48:48 +0000 Received: by mail-pg0-x243.google.com with SMTP id w17so835621pgv.6 for ; Thu, 18 Jan 2018 23:48:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sORz+bOodW9SOAFALLOdTqAwh6Qufs5oCkdYlQg1fOQ=; b=eVhuhYyit8eTwQ/eD5TVqTzcr3n1e7kiZm0ACKTbG1otpcQCVHFenPbvth82YuVbfr ysVLicG7zeSsRtV4HdGa8td4Rbr5hrkai8kV+yh5d/2ng+071daAorjpfgqz8c69/k25 rOUoREtnDxgWzx/51dMYP/OCZBrhZuafwPRfMJQIGg+QY4Rkb/6F36bnEPfK7M/UGp4Q rWyILWQFXvBTXvgiex+Q36GwOlfrQ6T4epEFZjE6y3tkcQIJh/74Jvk5Fvx19hi7oE3S 0EmGEgXrG1XJgCLmFatnYHzVBXdRa7Bci5hRAYLukbCp6n0pPuwqQymSwVD/0Py9GJ+g H3uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sORz+bOodW9SOAFALLOdTqAwh6Qufs5oCkdYlQg1fOQ=; b=ah4yO0l1Wow3fJj3YmOpRtEb2fUBEPHtK/dIykRaRHkvTdoWS83DdRFncX/b0NtuGF dtvwNv+FwvbGEhlzAy/+UTZ5G7eb5NSXsWYoGn5/7+sOeiXPXIfXogMr9T75RLOYHAkw 8E4GSqLbo/ibqkPKiDBYdqHnwHMnGLV7iIZdjAQDSRTN6uJUUV/wn7TROR3U7gVNJJ7g FVdICpPZxKn+pftrmUMnZLl9FnrhZdSySm21KBi7BXtCwGbQJdEf7MlTfjJ44/9cA5ST PNDu1Zs6Oaj45DrMN647vN6DOzhE3NmRi3NzWBQiwmLReFuIHFlHjhZxPxoFRVeFTOV+ i4mA== X-Gm-Message-State: AKwxytdsl7CIiaNbNsQdEWCV9v7yHwQV0CRTMNYFuwsTS2HZ5W/2Q52Q I0Rw44yR91czTWgeJp5bFPquuA== X-Google-Smtp-Source: ACJfBot+NWVEM+G3IXHhUhIynqQz8KQelzFJSq3uyAl5fVobVwk6UdJUPebfCQxaPGwiqYOA+E8o9g== X-Received: by 10.99.176.76 with SMTP id z12mr16543945pgo.405.1516348116157; Thu, 18 Jan 2018 23:48:36 -0800 (PST) Received: from gl-inet.lan ([119.123.60.93]) by smtp.googlemail.com with ESMTPSA id s80sm17582192pfj.179.2018.01.18.23.48.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Jan 2018 23:48:35 -0800 (PST) From: Kyson Lok To: lede-dev@lists.infradead.org Date: Fri, 19 Jan 2018 15:48:20 +0800 Message-Id: <1516348100-16796-2-git-send-email-kysonlok@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516348100-16796-1-git-send-email-kysonlok@gmail.com> References: <1516348100-16796-1-git-send-email-kysonlok@gmail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400e:c05:0:0:0:243 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kysonlok[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [LEDE-DEV] [PATCH v2 2/2] ar71xx: include vendor name for GL iNet products X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kyson Lok MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org This patch include GL.iNet vendor name in the machine name for GL.iNet vendor products. Signed-off-by: Kyson Lok --- target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c | 2 +- target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c | 2 +- target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c | 3 +-- target/linux/ar71xx/files/arch/mips/ath79/mach-gl-mifi.c | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c index 30992c8..f7b6b42 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c @@ -122,4 +122,4 @@ static void __init gl_ar150_setup(void) ath79_register_wmac(art + GL_AR150_CALDATA_OFFSET, art + GL_AR150_WMAC_MAC_OFFSET); } -MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL-AR150",gl_ar150_setup); +MIPS_MACHINE(ATH79_MACH_GL_AR150, "GL-AR150", "GL.iNet GL-AR150", gl_ar150_setup); diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c index ae96635..1708d69 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c @@ -100,4 +100,4 @@ static void __init gl_ar300_setup(void) ath79_register_wmac(art + GL_AR300_CALDATA_OFFSET, art + GL_AR300_WMAC_MAC_OFFSET); } -MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL-AR300",gl_ar300_setup); +MIPS_MACHINE(ATH79_MACH_GL_AR300, "GL-AR300", "GL.iNet GL-AR300", gl_ar300_setup); diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c index 62906a1..e650735 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c @@ -162,5 +162,4 @@ static void __init gl_ar300m_setup(void) ath79_register_pci(); } -MIPS_MACHINE(ATH79_MACH_GL_AR300M, "GL-AR300M", "GL-AR300M", - gl_ar300m_setup); +MIPS_MACHINE(ATH79_MACH_GL_AR300M, "GL-AR300M", "GL.iNet GL-AR300M", gl_ar300m_setup); diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-mifi.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-mifi.c index 42f4415..b5f0096 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-mifi.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-gl-mifi.c @@ -111,4 +111,4 @@ static void __init gl_mifi_setup(void) ath79_register_wmac(art + GL_MIFI_CALDATA_OFFSET, art + GL_MIFI_WMAC_MAC_OFFSET); } -MIPS_MACHINE(ATH79_MACH_GL_MIFI, "GL-MIFI", "GL-MIFI",gl_mifi_setup); +MIPS_MACHINE(ATH79_MACH_GL_MIFI, "GL-MIFI", "GL.iNet GL-MIFI", gl_mifi_setup);