Subject: Re: [POWERPC] convert string i/o operations to C

From: David Howells <[email-masked]>
Date: Tue, 19 Sep 2006 13:42:58 +0100

Stephen Rothwell <[email-masked]> 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