Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 27 Feb 2002 12:01:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 27 Feb 2002 12:00:43 -0500 Received: from se1.cogenit.fr ([195.68.53.173]:42156 "EHLO cogenit.fr") by vger.kernel.org with ESMTP id ; Wed, 27 Feb 2002 12:00:17 -0500 Date: Wed, 27 Feb 2002 18:00:10 +0100 From: Francois Romieu To: Pau Cc: lkml Subject: Re: how to migrate these drivers? Message-ID: <20020227180010.A5325@fafner.intra.cogenit.fr> In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from linuxnow@wanadoo.es on Tue, Feb 26, 2002 at 11:54:55PM +0100 X-Organisation: Marie's fan club - II Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Pau : [...] > I want to fix these drivers so that they compile in 2.5. Is anybody > working on it? Any rule of the thumb to do it? Read Documentation/DMA-mapping.txt, especially "Types of DMA mappings", then figure how it's used in drivers/net/{3c59x,epic100,eepro100}.c for example. Side note: pci_{map/alloc}_xxx must be balanced to avoid leak -> a straight search/replace virt_to_xxx/pci_map won't necessarily be enough. -- Ueimor - 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/