Received: by 10.192.165.148 with SMTP id m20csp2607116imm; Sun, 6 May 2018 19:56:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqovL4cwn4BwURL5gl1isWRj6Wu+y6p9UaTGvQlov0Bsslqik2byYggQc4YogJQ487HNLAn X-Received: by 2002:a17:902:265:: with SMTP id 92-v6mr35360628plc.368.1525661811776; Sun, 06 May 2018 19:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525661811; cv=none; d=google.com; s=arc-20160816; b=DXZVBTWS7CoDtLAzOxBKTYEzL6ySNanSkzQCLygQQouCcrU5TtHDbSl7D4IwW2rbm1 gRLErjYnNRmpcqX04pF42INfejmWYJKW4QqxT7uSSNGviJ9sBJZhWrzqyLJoN18NNbn9 Ph3BAjimBnf7GWtmuqPUwqCGVM064FxhkV87+XFdmUk8aVcQpXHQgZuvd3aD4uhn4425 K4iJIsRMvvz3GQhf800xh6Np8Lntc3yC7X0myPdgEFYBuFJr5WKW5TotYW1MkZJNSsXm NeigmGsadXtcVftTjsMTujvvxZMugU7E+Y/pgwyJfBPC0U4tK4RS4tYiWATqf2uo20eL aVWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=S5HyVcZYpyZmuN/UyvwcxXCta02YaZi7EjhfV5ctkuw=; b=WVKpaNFDXLPSNvADlljPFqpv4ntPBhyqwSuOCPZKzDB5Q3Zl2ppRLXT2DkrH3et4f/ cxsmf/J8WKECm8KCsfdAhQu7VTbYJSHq2UmflLHsyG5ab1kzCjamMN82frNTLZFwclNA vuiqcyp7zRjAoZW3xIb72JGVolvV+xeRgfqB/E7Lr6RlBR8ef7/Sb7t9G65b6TTPBC0d FA9ltErmXOeRWKLr4tQf1AVH1hynjwx9Pe29TwBp3ZQrga5eQS7hg5BiWFI6kOitcWnI tQSCBQelG93Q0/Qa4hIUK2A0z29XvPHSXRtK0ZAINyIXZDGbe062MWR24kXaZPQraFdN 1kPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=iDnjlXhj; 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 h68si21470962pfa.238.2018.05.06.19.56.37; Sun, 06 May 2018 19:56:51 -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; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=iDnjlXhj; 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 S1751949AbeEGC4C (ORCPT + 99 others); Sun, 6 May 2018 22:56:02 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:55129 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751852AbeEGC4A (ORCPT ); Sun, 6 May 2018 22:56:00 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5B0622280E; Sun, 6 May 2018 22:56:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 06 May 2018 22:56:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=S5HyVcZYpyZmuN/UyvwcxXCta02Ya Zi7EjhfV5ctkuw=; b=iDnjlXhjP70MiIHUjUqBE+VLG8xqU3hbOxfjgFWZzOOSd kvPvvJMjxefXSXCpDdzA06z2+4seMm5H/RWtYo+mWRf1V6AN28UmjS6Ic5Io2VOZ 5MS/So0PjNQslNdHAjEojCeTlGSIvveJFhgcOFEjq2oidw21CI6Jw43kjOboQYPV l44AM4N6kO03Jh4vHmCnRKSpuehr6vyk9Jx7YXIGUzcvtYEPNpw252pNsv604yZ6 k57Yp1ZMZJxgH9FGKwaZL8TXokR8FQsz1t9qVI8FurLGof/sYaWFoKbjbj2NQJt1 fFpTJTcy3S0uhZhVXtZwm2C8ZUcdW89E+EoegeSYg== X-ME-Sender: Received: from localhost (ppp121-44-245-79.bras2.syd2.internode.on.net [121.44.245.79]) by mail.messagingengine.com (Postfix) with ESMTPA id 8C79C102CA; Sun, 6 May 2018 22:55:59 -0400 (EDT) Date: Mon, 7 May 2018 12:55:56 +1000 From: "Tobin C. Harding" To: Andrea Greco Cc: m.grzeschik@pengutronix.de, Andrea Greco , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 2/3] arcnet: com20020: Fixup missing SLOWARB bit Message-ID: <20180507025556.GG4197@eros> References: <20180505213754.8400-1-andrea.greco.gapmilano@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180505213754.8400-1-andrea.greco.gapmilano@gmail.com> X-Mailer: Mutt 1.5.24 (2015-08-30) User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 05, 2018 at 11:37:54PM +0200, Andrea Greco wrote: > From: Andrea Greco > > If com20020 clock is major of 40Mhz SLOWARB bit is requested. > > Signed-off-by: Andrea Greco > --- > drivers/net/arcnet/com20020.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c > index f09ea77dd6a8..abd32ed8ec9b 100644 > --- a/drivers/net/arcnet/com20020.c > +++ b/drivers/net/arcnet/com20020.c > @@ -102,6 +102,10 @@ int com20020_check(struct net_device *dev) > lp->setup = lp->clockm ? 0 : (lp->clockp << 1); > lp->setup2 = (lp->clockm << 4) | 8; > > + // If clock is major of 40Mhz, SLOWARB bit must be set /* C89 style comments please :) */ Hope this helps, Tobin.