Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp464503ybl; Fri, 30 Aug 2019 02:27:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI2lH2u1zFIwXlEnISGlonV4WdV+OmV2/9HSn/0fHwlQ9XXLzJrjK8axoCJ4qbM8EaYvf6 X-Received: by 2002:a63:ec03:: with SMTP id j3mr12708976pgh.325.1567157235532; Fri, 30 Aug 2019 02:27:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567157235; cv=none; d=google.com; s=arc-20160816; b=ejvb3GCWpBP8aLs6CTQsRvEyu/S08Autfq4yhmOiTMFRNr9HRH+q/tQ1hLJm0CARIL QHerShcOgdWLl3llN3teLWVIDlHOCqb+A2+CIii7rkhg3zxJwcjLU+LwC4g5nYrnmdtO ZFZJoBzByrAnoFpRPr63q0+y1QFrACGxgX5D2VuGKvruOhek+DOdbeN11rUqbWaQOb+p IKkCoPiBw5tkWNAfGg1DY+a8f21s6DEx0506PkFsY1Oh3YD5Ps2alyl4C8D4yti0Dkg5 Wxiqg5xDpNzMaWZ6C6zVFSZqknRg6IZ/v7I5Sjw4Q5Vwl8Neq1+1pVVoS7s2eKMFf4DT nYzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=GP6jh3w6J17fUHeApATMuLf5zzEbEUrNrJqj0vvdJKo=; b=a94fkiQ/CWMzfTvJZMipWBL3/ZTLuEQbA+dJP84IjSO6z0dn6d67LFwdQll7WjN9NZ aTSiFbdf/FDSs5gJRpP+klKrX2DVdwAaQwfyZnXoZjWjrwlmYGVKPf+Sk0ZYMXBMP+5s vexUWmNjPnb56ORX4y+38CC1RzuDaa+YwJhSyla30mvK+8t2LvuyCrmUm0gkzzLMYS/v oRMbSfuKVcLgGkeGhVIIlx8oHBgZygfsGW2SkAMyToVg9pChRR56LSMbBmMzdPyO37MN ZtnE+hROvneOaKqUzT3LTMQsMSy4AEK5oHfE7iDXuXudC+ujklFSBpdw6mk4E1HwbODh 9+gw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si5266877pfo.1.2019.08.30.02.27.00; Fri, 30 Aug 2019 02:27:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728386AbfH3J0F (ORCPT + 99 others); Fri, 30 Aug 2019 05:26:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:41778 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728236AbfH3JZ7 (ORCPT ); Fri, 30 Aug 2019 05:25:59 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BB163B0B6; Fri, 30 Aug 2019 09:25:57 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , "David S. Miller" , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v3 net-next 13/15] net: sgi: ioc3-eth: Fix IPG settings Date: Fri, 30 Aug 2019 11:25:36 +0200 Message-Id: <20190830092539.24550-14-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20190830092539.24550-1-tbogendoerfer@suse.de> References: <20190830092539.24550-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The half/full duplex settings for inter packet gap counters/timer were reversed. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/sgi/ioc3-eth.c b/drivers/net/ethernet/sgi/ioc3-eth.c index 05f4b598114c..971986433d4c 100644 --- a/drivers/net/ethernet/sgi/ioc3-eth.c +++ b/drivers/net/ethernet/sgi/ioc3-eth.c @@ -79,8 +79,8 @@ #define RX_OFFSET (sizeof(struct ioc3_erxbuf) + NET_IP_ALIGN) #define RX_BUF_SIZE (13 * IOC3_DMA_XFER_LEN) -#define ETCSR_FD ((17 << ETCSR_IPGR2_SHIFT) | (11 << ETCSR_IPGR1_SHIFT) | 21) -#define ETCSR_HD ((21 << ETCSR_IPGR2_SHIFT) | (21 << ETCSR_IPGR1_SHIFT) | 21) +#define ETCSR_FD ((21 << ETCSR_IPGR2_SHIFT) | (21 << ETCSR_IPGR1_SHIFT) | 21) +#define ETCSR_HD ((17 << ETCSR_IPGR2_SHIFT) | (11 << ETCSR_IPGR1_SHIFT) | 21) /* Private per NIC data of the driver. */ struct ioc3_private { -- 2.13.7