From patchwork Wed Jun 19 22:24:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 2752301 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 96E28C0AB1 for ; Wed, 19 Jun 2013 22:24:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A8CB8201F2 for ; Wed, 19 Jun 2013 22:24:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D43B7201EC for ; Wed, 19 Jun 2013 22:24:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935082Ab3FSWYy (ORCPT ); Wed, 19 Jun 2013 18:24:54 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:38536 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934961Ab3FSWYx (ORCPT ); Wed, 19 Jun 2013 18:24:53 -0400 Received: by mail-la0-f46.google.com with SMTP id eg20so5030432lab.5 for ; Wed, 19 Jun 2013 15:24:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=to:subject:cc:from:organization:date:mime-version:content-type :content-transfer-encoding:message-id:x-gm-message-state; bh=yltyB3MEA2fpL7zY+XzboYJyVViAr1Fw4wQGthUALEE=; b=AUN2yQXz+SEmoqrU9GfOqTtU/a034tjgC7lt271BkD6C7zGgGCPs3F+hM3VBoeFxFv 25xOwa3qP+W6dANMRkcZ6m1vsInlFgDW4intmHwtp6qNW7puPRNe+fSRa4uylUS2jZ86 mZwzqK+sTpLI0CCjLVlwNtHOyUsFVww5W82JBSgB6mtQQ4bysXwyT46DMr96ZsBYl49x 3sZ1zA3k6CeEtPe0ZFfgiCTD2zj1pzd1+CcsDGsKahvzLQqlhuYL+5rqkDfSSLfECOU/ 6E+RUicK9dSjHvAdA5y9m/PjoVpssnC99QhalRNe9W+rg/mq/8PLDAbCPFbY70G0c285 eVFA== X-Received: by 10.152.121.106 with SMTP id lj10mr2365003lab.27.1371680692235; Wed, 19 Jun 2013 15:24:52 -0700 (PDT) Received: from wasted.dev.rtsoft.ru (ppp91-76-156-235.pppoe.mtu-net.ru. [91.76.156.235]) by mx.google.com with ESMTPSA id g7sm10041653lae.6.2013.06.19.15.24.50 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Jun 2013 15:24:51 -0700 (PDT) To: netdev@vger.kernel.org Subject: [PATCH 2/3] sh_eth: remove redundant bits from 'eesipr_value' field initializer Cc: nobuhiro.iwamatsu.yj@renesas.com, linux-sh@vger.kernel.org From: Sergei Shtylyov Organization: Cogent Embedded Date: Thu, 20 Jun 2013 02:24:54 +0400 MIME-Version: 1.0 Message-Id: <201306200224.54487.sergei.shtylyov@cogentembedded.com> X-Gm-Message-State: ALoCoQk4mxZ8ecU/zs22JSvqS8RjBmo5rmTHwqQ1Qm8EslyG7rSPGLQtCdHYOEe5s3fHfDSLbsNh Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 For SH7724 'eesipr_value' field initializer includes DMAC_M_RFRMER & DMAC_M_ECI bits which are already contained in 0x01ff009f -- remove them. Signed-off-by: Sergei Shtylyov --- The patch is against the Dave Miller's 'net-next.git' repo plus the NAPI patches that I've reposted yesterday. drivers/net/ethernet/renesas/sh_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: net-next/drivers/net/ethernet/renesas/sh_eth.c =================================================================== --- net-next.orig/drivers/net/ethernet/renesas/sh_eth.c +++ net-next/drivers/net/ethernet/renesas/sh_eth.c @@ -414,7 +414,7 @@ static struct sh_eth_cpu_data sh7724_dat .ecsr_value = ECSR_PSRTO | ECSR_LCHNG | ECSR_ICD, .ecsipr_value = ECSIPR_PSRTOIP | ECSIPR_LCHNGIP | ECSIPR_ICDIP, - .eesipr_value = DMAC_M_RFRMER | DMAC_M_ECI | 0x01ff009f, + .eesipr_value = 0x01ff009f, .tx_check = EESR_FTC | EESR_CND | EESR_DLC | EESR_CD | EESR_RTO, .eesr_err_check = EESR_TWB | EESR_TABT | EESR_RABT | EESR_RDE |