|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
Re: [Xen-devel] pcifront for ia64
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.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|