From patchwork Tue May 26 21:27:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Olivari X-Patchwork-Id: 476749 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5926E1402A2 for ; Wed, 27 May 2015 07:30:14 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id AB24228A69F; Tue, 26 May 2015 23:27:18 +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_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 35F16280632 for ; Tue, 26 May 2015 23:26:49 +0200 (CEST) X-policyd-weight: using cached result; rate:hard: -7.6 Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 26 May 2015 23:26:41 +0200 (CEST) Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id E0F69140738; Tue, 26 May 2015 21:28:06 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id C206F140743; Tue, 26 May 2015 21:28:06 +0000 (UTC) Received: from mathieu-linux.qualcomm.com (qf-scl1nat.qualcomm.com [207.114.132.30]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mathieu@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 488BE140738; Tue, 26 May 2015 21:28:06 +0000 (UTC) From: Mathieu Olivari To: nbd@openwrt.org, blogic@openwrt.org, kaloz@openwrt.org Date: Tue, 26 May 2015 14:27:55 -0700 Message-Id: <1432675677-8806-5-git-send-email-mathieu@codeaurora.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1432675677-8806-1-git-send-email-mathieu@codeaurora.org> References: <1432675677-8806-1-git-send-email-mathieu@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH 4/6] ipq806x: enable kernel support for Fixed PHY emulation 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" Most ipq806x platforms use an ethernet switch, and the new upstream GMAC driver makes use of the Fixed PHY emulation to force the link settings despite the lack of PHY. Signed-off-by: Mathieu Olivari --- target/linux/ipq806x/config-3.18 | 1 + target/linux/ipq806x/config-4.0 | 1 + 2 files changed, 2 insertions(+) diff --git a/target/linux/ipq806x/config-3.18 b/target/linux/ipq806x/config-3.18 index 814f142..cc1f20d 100644 --- a/target/linux/ipq806x/config-3.18 +++ b/target/linux/ipq806x/config-3.18 @@ -125,6 +125,7 @@ CONFIG_DTC=y # CONFIG_DW_DMAC_PCI is not set CONFIG_DYNAMIC_DEBUG=y CONFIG_ETHERNET_PACKET_MANGLE=y +CONFIG_FIXED_PHY=y CONFIG_FREEZER=y CONFIG_GENERIC_ALLOCATOR=y CONFIG_GENERIC_BUG=y diff --git a/target/linux/ipq806x/config-4.0 b/target/linux/ipq806x/config-4.0 index 9ce342b..7ec3963 100644 --- a/target/linux/ipq806x/config-4.0 +++ b/target/linux/ipq806x/config-4.0 @@ -128,6 +128,7 @@ CONFIG_DTC=y # CONFIG_DW_DMAC_PCI is not set CONFIG_DYNAMIC_DEBUG=y CONFIG_ETHERNET_PACKET_MANGLE=y +CONFIG_FIXED_PHY=y CONFIG_FREEZER=y CONFIG_GENERIC_ALLOCATOR=y CONFIG_GENERIC_BUG=y