From: Stefano Stabellini Subject: Re: [PATCH 2 of 7] pcilib: define endianness for minios Date: Mon, 12 Oct 2009 19:07:10 +0100 Message-ID: References: <20091012173121.GA5961@const.bordeaux.inria.fr> <20091012173652.GC5961@const.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1654854783-1255370830=:4616" Return-path: In-Reply-To: <20091012173652.GC5961@const.bordeaux.inria.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org --8323329-1654854783-1255370830=:4616 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Mon, 12 Oct 2009, Samuel Thibault wrote: > Stefano Stabellini, le Mon 12 Oct 2009 18:35:06 +0100, a =E9crit : > > I know it is unreadable, this is the actual difference between the tw= o > > trees: >=20 > Then please just reorder the hooks in your patch to make it match the > existing patch so that the commit diff becomes readable. >=20 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 @@ } =20 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; +=20 + #else +=20 ++#ifdef PCI_OS_MINIOS ++#include ++#endif ++ + #ifdef PCI_OS_LINUX + #include + #define BYTE_ORDER __BYTE_ORDER --8323329-1654854783-1255370830=:4616 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --8323329-1654854783-1255370830=:4616--