From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH][BUILD FAILURE 03/04] Next June 04:PPC64 randconfig [drivers/net/lance.o] Date: Mon, 15 Jun 2009 17:11:39 +1000 Message-ID: <1245049899.19217.56.camel@pasglop> References: <20090611035046.22125.26641.sendpatchset@subratamodak.linux.ibm.com> <1245048698.5239.9.camel@subratamodak.linux.ibm.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org ([63.228.1.57]:47076 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751296AbZFOHL6 (ORCPT ); Mon, 15 Jun 2009 03:11:58 -0400 In-Reply-To: <1245048698.5239.9.camel@subratamodak.linux.ibm.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: subrata@linux.vnet.ibm.com Cc: netdev@vger.kernel.org, Paul Mackerras , Linuxppc-dev , Sachin P Sant , Linux-Kernel , Linux-Next , Stephen Rothwell , Balbir Singh On Mon, 2009-06-15 at 12:21 +0530, Subrata Modak wrote: > Benjamin, > > I am not sure whether you liked the following patch to solve the above > problem. Do, you want me address some other issue(s)/fixes for this ? I suppose ... in fact some old PReP machines can even have ISA slots iirc, but it's not going to do good with machines that have an iommu... IE. Nobody should use that crap, period. Cheers, Ben. Cheers, Ben. > Regards-- > Subrata > > > > > --- linux-2.6.30-rc8/arch/powerpc/include/asm/io.h.orig 2009-06-10 21:56:49.000000000 -0500 > > +++ linux-2.6.30-rc8/arch/powerpc/include/asm/io.h 2009-06-10 22:21:35.000000000 -0500 > > @@ -680,6 +680,9 @@ extern void __iounmap_at(void *ea, unsig > > #define mmio_outsw(addr, src, count) writesw(addr, src, count) > > #define mmio_outsl(addr, src, count) writesl(addr, src, count) > > > > +#define isa_virt_to_bus virt_to_phys > > +#define isa_bus_to_virt phys_to_virt > > + > > /** > > * virt_to_phys - map virtual addresses to physical > > * @address: address to remap > > > > --- > > Regards-- > > Subrata > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 859ADB7179 for ; Mon, 15 Jun 2009 17:11:59 +1000 (EST) Subject: Re: [PATCH][BUILD FAILURE 03/04] Next June 04:PPC64 randconfig [drivers/net/lance.o] From: Benjamin Herrenschmidt To: subrata@linux.vnet.ibm.com In-Reply-To: <1245048698.5239.9.camel@subratamodak.linux.ibm.com> References: <20090611035046.22125.26641.sendpatchset@subratamodak.linux.ibm.com> <1245048698.5239.9.camel@subratamodak.linux.ibm.com> Content-Type: text/plain Date: Mon, 15 Jun 2009 17:11:39 +1000 Message-Id: <1245049899.19217.56.camel@pasglop> Mime-Version: 1.0 Cc: Sachin P Sant , Stephen Rothwell , netdev@vger.kernel.org, Linux-Kernel , Linuxppc-dev , Linux-Next , Paul Mackerras , Balbir Singh List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2009-06-15 at 12:21 +0530, Subrata Modak wrote: > Benjamin, > > I am not sure whether you liked the following patch to solve the above > problem. Do, you want me address some other issue(s)/fixes for this ? I suppose ... in fact some old PReP machines can even have ISA slots iirc, but it's not going to do good with machines that have an iommu... IE. Nobody should use that crap, period. Cheers, Ben. Cheers, Ben. > Regards-- > Subrata > > > > > --- linux-2.6.30-rc8/arch/powerpc/include/asm/io.h.orig 2009-06-10 21:56:49.000000000 -0500 > > +++ linux-2.6.30-rc8/arch/powerpc/include/asm/io.h 2009-06-10 22:21:35.000000000 -0500 > > @@ -680,6 +680,9 @@ extern void __iounmap_at(void *ea, unsig > > #define mmio_outsw(addr, src, count) writesw(addr, src, count) > > #define mmio_outsl(addr, src, count) writesl(addr, src, count) > > > > +#define isa_virt_to_bus virt_to_phys > > +#define isa_bus_to_virt phys_to_virt > > + > > /** > > * virt_to_phys - map virtual addresses to physical > > * @address: address to remap > > > > --- > > Regards-- > > Subrata > >