From patchwork Wed Jan 7 05:40:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 5582151 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id ED1E8BF6C3 for ; Wed, 7 Jan 2015 05:40:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 256B520254 for ; Wed, 7 Jan 2015 05:40:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4F43020256 for ; Wed, 7 Jan 2015 05:40:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755177AbbAGFk1 (ORCPT ); Wed, 7 Jan 2015 00:40:27 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:52905 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751335AbbAGFk0 (ORCPT ); Wed, 7 Jan 2015 00:40:26 -0500 Received: by mail-pa0-f53.google.com with SMTP id kq14so2540454pab.12 for ; Tue, 06 Jan 2015 21:40:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=7uwy4SiDngpKukPovQ+vqRRRTThQHujMcD6H2ucfEFc=; b=PJ1cbNMqtPkbRq8ziUDM2WHJxAIuX+Kd3X5MPoP27niWKlzUmci9cPPjjq2nDESvpz MFM/OC1RyOLZABcahRbK7f7+Wfhay60UjPxS5PZkhys9GUk7baWSEDEVKVAEXW1igfHU F177GlN38H6zorJMcMYr7JqVXn2x4TcdZYbV8L8aRIfYE26JLhEtVMy/jxPkLRbJz124 ya45rkScB0v7JCoFwry93OLr4yPltdUK1vy9tqW+kDbXwl5TF7Vvv92/JbhUF7xFftgV fDsWNI+uHfn9yfmjEOss2eqeHTvvVSP2cnI1u8aHA7Ti6mXb0A/oT6Abx18GNYgSWNwP 8zPg== X-Gm-Message-State: ALoCoQkhiC8BCAGbU1acLnv+Y0AyOc1PGbmcR8XlLmIynA9+BP29qa038x1hGyLigSrAQKdlwjVZ X-Received: by 10.70.130.73 with SMTP id oc9mr2164276pdb.42.1420609226191; Tue, 06 Jan 2015 21:40:26 -0800 (PST) Received: from xps-iwamatsu.renesas.com (49.14.32.202.bf.2iij.net. [202.32.14.49]) by mx.google.com with ESMTPSA id c17sm578651pdl.6.2015.01.06.21.40.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Jan 2015 21:40:25 -0800 (PST) From: Nobuhiro Iwamatsu To: netdev@vger.kernel.org Cc: yoshihiro.shimoda.uh@renesas.com, linux-sh@vger.kernel.org, Nobuhiro Iwamatsu Subject: [PATCH] sh-eth: Set fdr_value of R-Car SoCs Date: Wed, 7 Jan 2015 14:40:15 +0900 Message-Id: <1420609215-6969-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com> X-Mailer: git-send-email 2.1.3 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP FDR register of R-Car set in fdr_value can have the original settings. This sets the value that is suitable for each SoCs to fdr_value of R8A777x and R8A779x. Signed-off-by: Nobuhiro Iwamatsu --- drivers/net/ethernet/renesas/sh_eth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index 59ee457..62f2e88 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -473,6 +473,7 @@ static struct sh_eth_cpu_data r8a777x_data = { .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE | EESR_RDE | EESR_RFRMER | EESR_TFE | EESR_TDE | EESR_ECI, + .fdr_value = 0x00000f0f, .apr = 1, .mpr = 1, @@ -495,6 +496,7 @@ static struct sh_eth_cpu_data r8a779x_data = { .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RFE | EESR_RDE | EESR_RFRMER | EESR_TFE | EESR_TDE | EESR_ECI, + .fdr_value = 0x00000f0f, .apr = 1, .mpr = 1,