From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: PCI Passthru: fn0 exported but not fn1 Date: Thu, 30 Aug 2007 11:19:25 +0100 Message-ID: References: <46D697BA.7040000@netxen.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46D697BA.7040000@netxen.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jambunathan K Cc: xen-devel , Stefan Neuwirth , Sanjeev Jorapur List-Id: xen-devel@lists.xenproject.org On 30/8/07 11:11, "Jambunathan K" wrote: > This is the broad outline of a fix. Oh, that is pretty gross. I guess we can just comment out asm-generic's definition of that macro, as pretty much every architecture is defining it for itself anyway. Can you try that? Just have it defined to 1 in asm-x86_64/mach-xen/asm/pci.h, and comment out the definition in asm-generic/pci.h. If that works I'll apply the fix to our tree with appropriate comments. This isn't going to fly upstream, or probably even in vendor kernels, so longer term the dummy device in pciback is probably going to be required. -- Keir