From patchwork Mon May 11 19:45:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Roger Pueyo Centelles | Guifi.net" X-Patchwork-Id: 471024 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id F3F9A140187 for ; Tue, 12 May 2015 05:47:02 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=guifi.net header.i=@guifi.net header.b=CjiF6cY+; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id E33B728BDF6; Mon, 11 May 2015 21:45:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9E0552848A9 for ; Mon, 11 May 2015 21:45:38 +0200 (CEST) X-policyd-weight: using cached result; rate: -7.6 Received: from smtp1.guifi.net (smtp1.guifi.net [109.69.9.53]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 11 May 2015 21:45:38 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.guifi.net (Postfix) with ESMTP id A68DC4B40987 for ; Mon, 11 May 2015 21:46:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=guifi.net; h= x-mailer:message-id:date:date:subject:subject:from:from:received :received:received; s=dkim; t=1431373597; x=1433187998; bh=zN29X kZsIei08uRUf+jrkFs98y3uxJ1ifsqxBposliw=; b=CjiF6cY+5kS23bPnc8YNv F9IOh/5Q6jDXx1EJFFhDSV3DgFXYDagq9OisAWqfomjV8IvccWlF7GTiS3F2/QtV 0zMfYRM/b9SbqxRYXuUX5TGzmI9EXYe4fyCxzoTPA6vuY89RULvBy7ixJBPs+eFh bQicdCKXOBhmkdB4kSeTM18yd7rEVuYRXa0U59Y5DxfDhCn7Ag+hHR/xEezcBpmd iqm5ZCNCq3kPnCZFL/TImP2QVixJIcFkJvXsDyvCqvMG7MgDspUYfRCkB+8AtDPT nrYOP9/cVIieR04nbVHOFUzAQbGosoRHqtMrNxQNekbkYhbWuDA9vluab6ACLNkQ g== X-Amavis-Modified: Mail body modified (using disclaimer) - smtp1.elserrat.org X-Virus-Scanned: Scrollout F1 on Debian amavisd-new at elserrat.org Received: from smtp1.guifi.net ([127.0.0.1]) by localhost (smtp1.elserrat.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 3ZHxv5K1uMSU for ; Mon, 11 May 2015 21:46:37 +0200 (CEST) Received: from mail.elserrat.org (109-69-9-9-guifi-gurb.ip4.guifi.net [109.69.9.9]) by smtp1.guifi.net (Postfix) with ESMTP id 968DF4B40A99 for ; Mon, 11 May 2015 21:45:13 +0200 (CEST) Received: from localhost.localdomain (unknown [84.88.85.1]) by mail.elserrat.org (Postfix) with ESMTPSA id 1CC866AC1DE for ; Mon, 11 May 2015 21:45:13 +0200 (CEST) From: Roger Pueyo Centelles To: openwrt-devel@lists.openwrt.org Date: Mon, 11 May 2015 21:45:06 +0200 Message-Id: <1431373506-28851-1-git-send-email-roger.pueyo@guifi.net> X-Mailer: git-send-email 2.1.4 Subject: [OpenWrt-Devel] [PATCH] ar71xx: Add pll_1000 value for eth0 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M XW image compatible with other Ubiquiti devices with similar hardware with a Gigabit Ethernet port. --- .../ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch b/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch index 056a690..ccc752e 100644 --- a/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch +++ b/target/linux/ar71xx/patches-3.18/903-MIPS-ath79-ubnt-rocket-m-xw-support.patch @@ -10,7 +10,7 @@ ATH79_MACH_UBNT_UAP_PRO, /* Ubiquiti UniFi AP Pro */ --- a/arch/mips/ath79/mach-ubnt-xm.c +++ b/arch/mips/ath79/mach-ubnt-xm.c -@@ -449,12 +449,42 @@ +@@ -449,12 +449,43 @@ ath79_register_eth(0); } @@ -38,6 +38,7 @@ + + ath79_register_mdio(0, ~BIT(4)); + ath79_eth0_data.phy_mask = BIT(4); ++ ath79_eth0_pll_data.pll_1000 = 0x06000000; + ath79_register_eth(0); +} +