From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by ozlabs.org (Postfix) with ESMTP id E1D6F67B81 for ; Tue, 19 Sep 2006 22:43:23 +1000 (EST) From: David Howells In-Reply-To: <20060919222351.d27a1a06.sfr@canb.auug.org.au> References: <20060919222351.d27a1a06.sfr@canb.auug.org.au> To: Stephen Rothwell Subject: Re: [POWERPC] convert string i/o operations to C Date: Tue, 19 Sep 2006 13:42:58 +0100 Message-ID: <28673.1158669778@warthog.cambridge.redhat.com> Sender: dhowells@redhat.com Cc: ppc-dev , paulus@samba.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Stephen Rothwell wrote: > +void _insb(volatile u8 __iomem *port, void *buf, int ns) > +{ > + asm volatile("sync"); > + if (ns <= 0) > + return; What is "ns" meant to do? It seems to degrade the _insb() op to just a sync, but is that correct? David