WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

Re: [XenPPC] [rfc] Serial discovery.

On Mon, 2006-05-01 at 11:51 -0400, Jimi Xenidis wrote:
> 
> > If the issue is that you want to use inb/outb in a Zilog driver,
> 
> You wish to make inb/outb ISA only interfaces?

They already are. "inb" and friends refer to instructions that access IO
space on x86.

For MMIO accesses, even on x86, you use ioremap and readb etc. (These
are not equivalent to inb; don't be confused by how PPC emulates it.)

> > please
> > use ioremap (even though it's a no-op) and readb/writeb instead,
> like
> > ns16550.c.
> 
> agreed. 

So... you're now fine with isa_io_base?

-- 
Hollis Blanchard
IBM Linux Technology Center


_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel