From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arthur Kepner Subject: Re: [PATCH] s2io: replace readq() with mmiowb() in s2io_xmit() Date: Mon, 2 May 2005 19:11:53 -0700 (PDT) Message-ID: References: <200504051836.j35IanDD005402@guinness.s2io.com> <20050503014034.GC12682@krispykreme> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Leonid Grossman , muhammad.shafiq@neterion.com, ramkrishna.vepa@neterion.com, netdev@oss.sgi.com Return-path: To: Anton Blanchard In-Reply-To: <20050503014034.GC12682@krispykreme> Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Tue, 3 May 2005, Anton Blanchard wrote: > > I didnt know mmiowb is supposed to be a replacement for PCI write > posting. Most architectures define mmiowb as nothing and so will be > broken with your change. > I thought that an arch was supposed to define mmiowb() if it needs it. In this case, the readq() is only being used for the side-effect of ordering the previous writes (the neterion folks can correct me if I'm wrong). -- Arthur