Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2937878ybl; Mon, 19 Aug 2019 09:35:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqys6ziTh8Dz/YJNdY2UbEmJ4wpv7H0M23zcOyPO6oUQv43yC4GWvkIxHoaYSK3jWaI5BTbq X-Received: by 2002:a17:902:9f82:: with SMTP id g2mr7294581plq.63.1566232548316; Mon, 19 Aug 2019 09:35:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566232548; cv=none; d=google.com; s=arc-20160816; b=x38g4ogOIlARoVOp+AUuF41Iq6tUKhz4e5QD952LkU5NG5yaJ5aPxFG+vDH1dTweh9 5bi+Zkl7w4GKMPjA7u1eHwmwb0DsP9gNvnQRLi/ziz5BK+ZQM2bfv3dLbVpvZTG9W0zE H7orBg4HOCg17JYVcXvYlAZVnXDPNfzjHKElPVizUTg3S/mec+RvOQBsPNtDeMsH5265 g32lsO6SZrditj5Er7ifThrkk0lxgXknuV9QDWoaxkMctnRIddjbRjs0JtgI51XFAh/L LWuhNor8cLlbd4BSQB3cwBdtjI4C9SfsoEf+F8NJsXJuo8sURQY7GoL5scz/CscgiwdP JZIQ== 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=mVQqmckKun1LUCl0zDeb3XG5rdOPsa6ninD38R3YUjs=; b=sALk5mf+lRud2sNFdiKx6283WKHN+fc07248mdcs6GImIhYyIOvU3IEpxfRAa7fXxW LT3me07+n5eluWu2OfX3iEgOzgYTwrIv6zTPsd0z7LWnmLrIu5UUUzBENUtQlisdrELh Y0FU3gi7vC8hWca3R2WCJ3yaUyCPfpzBvv/VKLbdf6nrSMwskuyeyPTMT1SACoH9FgOG oe4j0R+2O2pYrcNUn23L8wwuAqNVo2bqZfmiJUMdg1WwUt4zz8lNeN8mepiwbXpMuw2D FAe6AOvAX2esxi215qloUEgBhuJbfCO+AE75XbeIBunA1CNpF1ivtH69cZc8m5W6Y7LG jb5A== 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 p13si10156579plo.267.2019.08.19.09.35.33; Mon, 19 Aug 2019 09:35:48 -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 S1728235AbfHSQdC (ORCPT + 99 others); Mon, 19 Aug 2019 12:33:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:55436 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727973AbfHSQcH (ORCPT ); Mon, 19 Aug 2019 12:32:07 -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 97D09B62C; Mon, 19 Aug 2019 16:32:05 +0000 (UTC) From: Thomas Bogendoerfer To: Jonathan Corbet , Ralf Baechle , Paul Burton , James Hogan , Dmitry Torokhov , Lee Jones , "David S. Miller" , Srinivas Kandagatla , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Jiri Slaby , Evgeniy Polyakov , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v5 14/17] net: sgi: ioc3-eth: Fix IPG settings Date: Mon, 19 Aug 2019 18:31:37 +0200 Message-Id: <20190819163144.3478-15-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20190819163144.3478-1-tbogendoerfer@suse.de> References: <20190819163144.3478-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 56392f0b01de..25597c6194d9 100644 --- a/drivers/net/ethernet/sgi/ioc3-eth.c +++ b/drivers/net/ethernet/sgi/ioc3-eth.c @@ -80,8 +80,8 @@ #define RX_OFFSET 10 #define RX_BUF_SIZE 1664 -#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