From patchwork Sat Jan 6 21:26:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10148043 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B10EA60153 for ; Sat, 6 Jan 2018 21:27:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F0A728963 for ; Sat, 6 Jan 2018 21:27:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 92FB828999; Sat, 6 Jan 2018 21:27:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5FC128994 for ; Sat, 6 Jan 2018 21:26:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753069AbeAFV07 (ORCPT ); Sat, 6 Jan 2018 16:26:59 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:40786 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbeAFV06 (ORCPT ); Sat, 6 Jan 2018 16:26:58 -0500 Received: by mail-lf0-f68.google.com with SMTP id u84so8500119lff.7 for ; Sat, 06 Jan 2018 13:26:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:user-agent:date:to:cc:subject:mime-version :content-disposition; bh=XmFmtn7cWmEeqc6oVwpxGwuJjHySkoWJ8wTJK7POdYE=; b=eRKjrlFozkfbTkHP1lwyqN/4/tkoAWLt1Tns1ieSXuSPdGh6cRVxDmToC+6fme9Nd5 gHpAV0cz+jmDrMOfFxv0kRwPmPJOB9oEQC9Bk+SvC33SICcOy1vpAxXLw+X0KlXbYNJu 80pvA1jP8s8YWfYY5qBLEXw5j0R4M83sj7HPGm1k0X7fjXhr/LKH5FTM44EumcpNzxTq Bv2AmKfMQkqCbunal3O++cEdevXnYFcAaG4pd36QnD1V8gLlqvYkyhxlsL4MmqQ9mIlO zqbPEfhP2CB44TyhSvKBHznR9XL8SRdeT/crUgK1tLlczJsObfveMsVLARgoS070LpQu AiNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:user-agent:date:to:cc:subject :mime-version:content-disposition; bh=XmFmtn7cWmEeqc6oVwpxGwuJjHySkoWJ8wTJK7POdYE=; b=ff0kkfyLTktZHKmkZi1WXygM1gwu+JtiAvsOVPOqbKUONO8EY1gJbDDuv6bXkyXRBO zFz35WZYzJBCAcnCmObaLTZo9k3FU4ZKfpRMU+cmM93mIb4ZS7NqUNAoIash4dHnusQ/ MV/A6I6pqoYD90x5zKcIJIBPRU8s+PuHho/Q+Kf/nkMJAeX/c/iQ6JxEyluz+GjO3253 2W6nP0a6tVwLJ7+i1OCCZzktII/Af7ZOGvIrjCOzbkemAiyTF/6cRXWMjeEo3MNYeWCz 5SJ0D6Pfv6i0xntuV2+U6H8iu9931EG40gSPNdkD7es0hDXGZ+mb+KSJzPeXG+xTLIMz zMNA== X-Gm-Message-State: AKwxytcqHU3SLaNJ03zdWEENGABmQzVtJkMRIjCQzp1Q0dGVXsRQJwLC YmcFMph3nwI9Jyd5d2X9AGVlmA== X-Google-Smtp-Source: ACJfBotVGBKxFjqxJqdCi5QnMF96s2D7G0VeNFt4LWxp0BxR+mWHeREBTWGDRkvFUyvtVXKVR3QosA== X-Received: by 10.25.45.81 with SMTP id t17mr3034095lft.113.1515274016603; Sat, 06 Jan 2018 13:26:56 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.85.97]) by smtp.gmail.com with ESMTPSA id r90sm1589327lje.80.2018.01.06.13.26.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Jan 2018 13:26:55 -0800 (PST) From: Sergei Shtylyov X-Google-Original-From: "Sergei Shtylyov" Received: by wasted.cogentembedded.com (sSMTP sendmail emulation); Sun, 07 Jan 2018 00:26:52 +0300 Message-Id: <20180106212652.818833413@cogentembedded.com> User-Agent: quilt/0.64 Date: Sun, 07 Jan 2018 00:26:47 +0300 To: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org Cc: linux-sh@vger.kernel.org, Sergei Shtylyov Subject: [PATCH] sh_eth: fix TXALCR1 offsets MIME-Version: 1.0 Content-Disposition: inline; filename=sh_eth-fix-TXALCR1-offsets.patch Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The TXALCR1 offsets are incorrect in the register offset tables, most probably due to copy&paste error. Luckily, the driver never uses this register. :-) Fixes: 4a55530f38e4 ("net: sh_eth: modify the definitions of register") Signed-off-by: Sergei Shtylyov --- drivers/net/ethernet/renesas/sh_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 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/drivers/net/ethernet/renesas/sh_eth.c =================================================================== --- net.orig/drivers/net/ethernet/renesas/sh_eth.c +++ net/drivers/net/ethernet/renesas/sh_eth.c @@ -147,7 +147,7 @@ static const u16 sh_eth_offset_gigabit[S [FWNLCR0] = 0x0090, [FWALCR0] = 0x0094, [TXNLCR1] = 0x00a0, - [TXALCR1] = 0x00a0, + [TXALCR1] = 0x00a4, [RXNLCR1] = 0x00a8, [RXALCR1] = 0x00ac, [FWNLCR1] = 0x00b0, @@ -399,7 +399,7 @@ static const u16 sh_eth_offset_fast_sh3_ [FWNLCR0] = 0x0090, [FWALCR0] = 0x0094, [TXNLCR1] = 0x00a0, - [TXALCR1] = 0x00a0, + [TXALCR1] = 0x00a4, [RXNLCR1] = 0x00a8, [RXALCR1] = 0x00ac, [FWNLCR1] = 0x00b0,