From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buildserver.ru.mvista.com (unknown [85.21.88.6]) by ozlabs.org (Postfix) with ESMTP id B07B4679F5 for ; Wed, 8 Mar 2006 02:42:20 +1100 (EST) Date: Tue, 7 Mar 2006 18:42:17 +0300 From: Vitaly Bordug To: "antonio.dibacco" Subject: Re: fs_enet on 2.4 and 8xx_immap Message-ID: <20060307184217.1422472c@vitb.ru.mvista.com> In-Reply-To: <20060307153716.1130.qmail@mx1.aruba.it> References: <20060307131500.3467.qmail@mx1.aruba.it> <20060307165522.7936fd7b@vitb.ru.mvista.com> <20060307153716.1130.qmail@mx1.aruba.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-embedded@ozlabs.org List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 07 Mar 2006 15:37:16 GMT "antonio.dibacco" wrote: > I think I will use the 8xx_immap.h borrowed from u-boot-1.1.4, it is really > similar to that of 2.4.25, with some explicit padding and fec2. Do you think > that porting fs_enet to 2.4 is it the best way to have both FECs working on > a MPC875? I don't want to use 2.6. > Sounds reasonable, but I'll repeat: fs_enet patches for 2.6 used to support 2.4 thing(via #ifdef's), it was cleaned up close to submission. IIRC, it handles 2 fecs quite great on my 885ads, so it worths to search around a bit before hacking... > Bye, > Antonio. > > Vitaly Bordug Scrive: > > > On Tue, 07 Mar 2006 13:15:00 GMT > > "antonio.dibacco" wrote: > > > >> I think that to make it work I need to update cpm8xx_t inserting the fec2 > >> filed. Is this true? Could I use the 8xx_immap.h of a 2.6 kernel? > >> > > Not exactly. I think you can borrow the structures from 2.6, but do a triple-check that the result offsets are the same. > > > >> Bye, > >> Antonio. > >> _______________________________________________ > >> Linuxppc-embedded mailing list > >> Linuxppc-embedded@ozlabs.org > >> https://ozlabs.org/mailman/listinfo/linuxppc-embedded > >> > >> > > > > > > -- > > Sincerely, > > Vitaly > > > -- Sincerely, Vitaly