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

[XenPPC] finding the serial port

To: "Maria A. Butrico" <butrico@xxxxxxxxxx>
Subject: [XenPPC] finding the serial port
From: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
Date: Wed, 19 Apr 2006 17:40:11 -0400
Cc: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 19 Apr 2006 14:40:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
Maria,
It occurs to me that we currently assume the UART is off the ISA bus.
On a G5 the UART hags off the mac-io.
So conceivable you will want to do 1 of 2 things:
  1. uart.io_base = <absolute address>; isa_io_base = 0;
--or--
  2. uart.io_base = <offset from mac-io>; isa_io_base = <mac-io base>;

I always liked uart.io_base = <absolute address> but IIR hollis talked me into using isa_io_base so we could use inb() outb() in a familiar way (like Linux does)

Anyway, something to watch out for.
-JX

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] finding the serial port, Jimi Xenidis <=