Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271159AbTGWIex (ORCPT ); Wed, 23 Jul 2003 04:34:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271157AbTGWIex (ORCPT ); Wed, 23 Jul 2003 04:34:53 -0400 Received: from www.opensource-ca.org ([168.234.203.30]:11224 "EHLO guug.galileo.edu") by vger.kernel.org with ESMTP id S271148AbTGWIeu (ORCPT ); Wed, 23 Jul 2003 04:34:50 -0400 Date: Wed, 23 Jul 2003 02:45:18 -0600 To: "David S. Miller" Cc: Christoph Hellwig , zaitcev@redhat.com, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org, debian-sparc@lists.debian.org Subject: Re: sparc scsi esp depends on pci & hangs on boot Message-ID: <20030723084518.GG30174@guug.org> References: <20030722182609.GA30174@guug.org> <20030722175400.4fe2aa5d.davem@redhat.com> <20030723070739.A697@infradead.org> <20030722232410.7a37ed4d.davem@redhat.com> <20030723072836.A932@infradead.org> <20030722232911.2e6fda86.davem@redhat.com> <20030723074033.A1687@infradead.org> <20030722235714.5e2b285d.davem@redhat.com> <20030723080222.A5245@infradead.org> <20030723002008.538dc163.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030723002008.538dc163.davem@redhat.com> User-Agent: Mutt/1.5.4i From: Otto Solares Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2264 Lines: 58 FYI i had compile both sparc32/sparc64 with these patch and finally that fu**ing PCI dependency is gone! thank you :) This should be done in asm-generic/dma-mapping.h IMHO with others archs in mind. -solca On Wed, Jul 23, 2003 at 12:20:08AM -0700, David S. Miller wrote: > On Wed, 23 Jul 2003 08:02:22 +0100 > Christoph Hellwig wrote: > > > On Tue, Jul 22, 2003 at 11:57:14PM -0700, David S. Miller wrote: > > > I don't see why this is a problem. Either do this, or fix > > > asm-generic/dma-mapping.h which is not GENERIC because it > > > depends upon something SPECIFIC, specifically PCI. > > > > The latter is what need to be done. > > I'll do the following for now. > > # This is a BitKeeper generated patch for the following project: > # Project Name: Linux kernel tree > # This patch format is intended for GNU patch command version 2.5 or higher. > # This patch includes the following deltas: > # ChangeSet 1.1518 -> 1.1519 > # include/asm-sparc64/dma-mapping.h 1.1 -> 1.2 > # include/asm-sparc/dma-mapping.h 1.1 -> 1.2 > # > # The following is the BitKeeper ChangeSet Log > # -------------------------------------------- > # 03/07/23 davem@nuts.ninka.net 1.1519 > # [SPARC]: Do not include asm-generic/dma-mapping.h if !CONFIG_PCI. > # -------------------------------------------- > # > diff -Nru a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h > --- a/include/asm-sparc/dma-mapping.h Wed Jul 23 00:06:03 2003 > +++ b/include/asm-sparc/dma-mapping.h Wed Jul 23 00:06:03 2003 > @@ -1 +1,5 @@ > +#include > + > +#ifdef CONFIG_PCI > #include > +#endif > diff -Nru a/include/asm-sparc64/dma-mapping.h b/include/asm-sparc64/dma-mapping.h > --- a/include/asm-sparc64/dma-mapping.h Wed Jul 23 00:06:03 2003 > +++ b/include/asm-sparc64/dma-mapping.h Wed Jul 23 00:06:03 2003 > @@ -1 +1,5 @@ > +#include > + > +#ifdef CONFIG_PCI > #include > +#endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/