From patchwork Wed Jun 1 16:41:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 9147813 X-Patchwork-Delegate: horms@verge.net.au 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 081D46082F for ; Wed, 1 Jun 2016 16:42:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF16924B5B for ; Wed, 1 Jun 2016 16:42:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3B0E26C2F; Wed, 1 Jun 2016 16:42:54 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI 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 14EFF25EF7 for ; Wed, 1 Jun 2016 16:42:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932454AbcFAQmC (ORCPT ); Wed, 1 Jun 2016 12:42:02 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:33959 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932337AbcFAQmA (ORCPT ); Wed, 1 Jun 2016 12:42:00 -0400 Received: by mail-pf0-f194.google.com with SMTP id c84so4506399pfc.1; Wed, 01 Jun 2016 09:41:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=vCpzNtA+VcWSreoLcDlc3vaXUi+97uXXIX2tAYxJ2Pc=; b=GtgdSMTGq+9aytNs7YTvh3VD7QH9uOExHW4R3ZEKGBg5pcF8YS3zLnsac8xwT2Y23f BjmcIpzEPosDz0/rXAZpFPf2xMGEcj665LBRhhBgDnbmcUXP/L5Hhy4MP851Zb4Ocr9t o9dL/0Q2V6U00ph+ZEixUXkxqpMx7AobZXSxSVSwqpVRvF8+sVq5QtfdzageAtwm2vI3 dSEwvuum8SDZWblvbV2xIeJHQirDaw/AlzA5Vs6l+18pgSOuhiN3iZnMX0ASkI7NhFxm SG5U0hSskvgRbrzBMrjc/u6wd7hm7kfeat9EnqOam1jANmb5DqrgyzmSMmfhTfjw8EAD mcPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vCpzNtA+VcWSreoLcDlc3vaXUi+97uXXIX2tAYxJ2Pc=; b=foglE9FPghmpqwKIR/zT5NtZPWBaYiccnbCxjIsbflIBQPQXS/T5x5i4obnY6aIvo9 DumrkCGBuyCI0xQZZoZjtNWRvGopzDHrB4Ou54obiyHRxCb1vBb/bzgFEzFfGUxX6rIK vFOaheLeuR+HcHNzyAxM6pBf+Y2izzdbTeVHrtWIu73Vowf62jXbME3fioboLKNLABbH tF/88LQC9il1P2LIwKHbeC6uUScyu43o9ImS7mc2pZjSMCb+E6vrIvBlK+LUilWXAVAV rqWAX+ShBAZuXfwiLfXqL8//spA1qphr8eOHUYMNMcAl9wFr8phU0BtWMJIYRK+vZ6uB sqcw== X-Gm-Message-State: ALyK8tI0NGn+RE1ToVxPTJoyQEQtXljChJLqhTFASZzIRtDPe5/DdmATvPPDEvODEZbO3A== X-Received: by 10.98.63.216 with SMTP id z85mr10318511pfj.53.1464799318993; Wed, 01 Jun 2016 09:41:58 -0700 (PDT) Received: from localhost.localdomain (KD118152108246.ppp-bb.dion.ne.jp. [118.152.108.246]) by smtp.gmail.com with ESMTPSA id 75sm13229007pfo.82.2016.06.01.09.41.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Jun 2016 09:41:58 -0700 (PDT) From: Yoshihiro Kaneko To: netdev@vger.kernel.org Cc: "David S. Miller" , Sergei Shtylyov , Simon Horman , Magnus Damm , linux-renesas-soc@vger.kernel.org Subject: [PATCH net-next] ravb: Remove manual pause frame transmit Date: Thu, 2 Jun 2016 01:41:05 +0900 Message-Id: <1464799265-27431-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Masaru Nagai Writing a non-zero value to the manual PAUSE frame register (MPR) starts the transmission of a PAUSE frame. A PAUSE frame is sent in ravb_emac_init(), but it is not expected behavior. Signed-off-by: Masaru Nagai Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Kaneko Acked-by: Sergei Shtylyov --- This patch is based on the master branch of David Miller's next networking tree. drivers/net/ethernet/renesas/ravb_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index 867caf6..37dd068 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -362,8 +362,6 @@ static void ravb_emac_init(struct net_device *ndev) ravb_write(ndev, (ndev->dev_addr[4] << 8) | (ndev->dev_addr[5]), MALR); - ravb_write(ndev, 1, MPR); - /* E-MAC status register clear */ ravb_write(ndev, ECSR_ICD | ECSR_MPD, ECSR);