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-devel

Re: [Xen-devel] pcifront for ia64

Le Jeudi 27 Juillet 2006 14:12, Keir Fraser a écrit :
> On 27 Jul 2006, at 10:41, Tristan Gingold wrote:
> > this patch ports pcifont to ia64.  pciback compiles without any change.
> >
> > I had to make a few change because pcifront use its own structure
> > (struct pcifront_sd) for sysdata while ia64 wants it own (at least for
> > pcibios_fixup_bus).  My solution is to reuse the ia64 sysdata structure
> > for pcifront, at the cost of a few ugly #ifdef.
> >
> > Comments and ideas are welcome to improve this.
> >
> > Also the patch fix a compile-time warning for xenbus.c.
> >
> > Using this patch I was able to use an ethernet card in domU.  This is
> > the good news.
>
> Move the sysdata initialisation to static inline functions in
> pcifront.h. That means you only have a single big ifdef in the header,
> and none in the main C files. With that change this will be fine to
> check in.
Thank you for your quick reply.
Here is the updated patch.

Tristan.

Attachment: xen-pcifront2.diffs
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>