[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 2 of 7] pcilib: define endianness for minios



On Mon, 12 Oct 2009, Samuel Thibault wrote:
> Stefano Stabellini, le Mon 12 Oct 2009 18:35:06 +0100, a écrit :
> > I know it is unreadable, this is the actual difference between the two
> > trees:
> 
> Then please just reorder the hooks in your patch to make it match the
> existing patch so that the commit diff becomes readable.
> 

I seem to be unable to do it properly with mercurial patchqueues, so I
edited the patch file manually:

diff -r c8595d71668e stubdom/pciutils.patch
--- a/stubdom/pciutils.patch    Mon Oct 12 19:02:22 2009 +0100
+++ b/stubdom/pciutils.patch    Mon Oct 12 19:05:11 2009 +0100
@@ -297,3 +297,17 @@
  }
  
  static int
+diff -uNpbE -uNpbEr pciutils-2.2.9.orig/lib/sysdep.h 
pciutils-2.2.9/lib/sysdep.h
+--- pciutils-2.2.9.orig/lib/sysdep.h   2007-02-06 12:00:18.000000000 +0000
++++ pciutils-2.2.9/lib/sysdep.h        2009-07-22 16:26:30.000000000 +0100
+@@ -32,6 +32,10 @@ typedef u16 word;
+ 
+ #else
+ 
++#ifdef PCI_OS_MINIOS
++#include <machine/endian.h>
++#endif
++
+ #ifdef PCI_OS_LINUX
+ #include <endian.h>
+ #define BYTE_ORDER __BYTE_ORDER
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.