From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [git patches] net driver updates Date: Fri, 18 May 2007 14:54:25 -0700 Message-ID: <20070518145425.369cb9ff.akpm@linux-foundation.org> References: <20070508063337.GA12474@havoc.gtf.org> <200705182346.21835.m.kozlowski@tuxland.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jeff Garzik , Linus Torvalds , netdev@vger.kernel.org, LKML To: Mariusz =?ISO-8859-1?Q?Koz=5F=5Fowski?= Return-path: Received: from smtp2.linux-foundation.org ([207.189.120.14]:34853 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754693AbXERV4y (ORCPT ); Fri, 18 May 2007 17:56:54 -0400 In-Reply-To: <200705182346.21835.m.kozlowski@tuxland.pl> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, 18 May 2007 23:46:21 +0200 Mariusz Koz__owski wrote: > Hello, > > > diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h > > index 7053026..111f23d 100644 > > --- a/drivers/net/smc91x.h > > +++ b/drivers/net/smc91x.h > > @@ -279,6 +279,40 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg) > > ... > > > +#define SMC_outb(v, a, r) __ __ __outw(((inw((a)+((r)&~1))*(0xff<<8*(r%2)))) | ((v)<<(8*(r&2)))), (a) + ((r)&~1)) > > This one has unbalanced parenthesis. > I dunno how you can tell - I can't count that high. Can this be programmed in C, rather than in cpp?