Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 18 Apr 2001 22:27:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 18 Apr 2001 22:27:02 -0400 Received: from smtp1.cern.ch ([137.138.128.38]:51204 "EHLO smtp1.cern.ch") by vger.kernel.org with ESMTP id ; Wed, 18 Apr 2001 22:26:52 -0400 To: Jeff Garzik Cc: Alan Cox , modica@sgi.com, linux-kernel@vger.kernel.org Subject: Re: Proposal for a new PCI function call In-Reply-To: <3AD601B4.7E0B14E4@sgi.com> <3AD604B0.2713F08B@mandrakesoft.com> <3AD7A6ED.7626BE05@mandrakesoft.com> From: Jes Sorensen Date: 19 Apr 2001 04:25:59 +0200 In-Reply-To: Jeff Garzik's message of "Fri, 13 Apr 2001 21:25:01 -0400" Message-ID: Lines: 15 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Jeff" == Jeff Garzik writes: Jeff> Jes Sorensen wrote: >> Hmmm, I was wondering if could come up with a pretty way to do this >> on 32 bit boxes that wants to enable highmem DMA. Right now >> pci_set_dma_mask() wants a dma_addr_t which means you have to do >> #ifdef CONFIG_HIGHMEM #else #endif. Jeff> It seems to me that not doing #ifdef CONFIG_HIGHMEM right now is Jeff> a bug... I think it's the megaraid driver that wants to set Jeff> dma_addr_t to a 64-bit mask. There's a bunch of them doing it - it's butt-ugly though. Jes - 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/