Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754247Ab0BAG1i (ORCPT ); Mon, 1 Feb 2010 01:27:38 -0500 Received: from 1wt.eu ([62.212.114.60]:56037 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278Ab0BAG1h (ORCPT ); Mon, 1 Feb 2010 01:27:37 -0500 Date: Mon, 1 Feb 2010 07:27:29 +0100 From: Willy Tarreau To: Justin Madru Cc: lkml Subject: Re: Forward porting 2.4 driver Message-ID: <20100201062729.GC27453@1wt.eu> References: <4B634540.9070306@gawab.com> <20100129203613.GF27907@1wt.eu> <4B665322.2060005@gawab.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B665322.2060005@gawab.com> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1436 Lines: 31 Hello, On Sun, Jan 31, 2010 at 08:05:54PM -0800, Justin Madru wrote: > Well, it's good that the driver might easily be updated to the latest 2.4. > > I did a diff of the source code that was provided against 2.6.30. > Unfortunately, it looks like there's been more changes to the code than > simply adding drivers. Updates all across the tree have been made, some > minor that would be an easy merge. But some seem to be more involved > changes. Any suggestions on merging the code? Then I'd suggest that you progressively apply all 2.4 versions one by one on top of their code. You should have less changes that way and since you'll have changelogs, you'll be able to tell what the changes want to do and whether you have to merge them or you can ignore them. Once you reach 2.4.32, you can even choose to apply all patches one at a time because the kernel migrated to use GIT. There are "only" 608 patches. Those are quickly reviewed to eliminate the arch-specific ones you don't care about and only keep generic fixes. Well that's just an idea. Also, keep a copy of intermediate versions (or ideally put them into a git tree starting at plain 2.4.30). Hoping this helps, Willy -- 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/